search for: mynn

Displaying 3 results from an estimated 3 matches for "mynn".

Did you mean: mann
2007 Dec 14
2
train nnet
Hi R-helpers, Can some one tell me how to train 'mynn' of this type?: mynn <- nnet(y ~ x1 + ..+ x8, data = lgist, size = 2, rang = 0.1, decay = 5e-4, maxit = 200) I assume that this nn is untrained, and to train I have to split the original data into train:test data set, do leave-one-out refitting to refine the weights (please straighten this...
2007 Jul 07
1
calculating p-values of columns in a dataframe
...wish to test whether these differences are significantly different from zero. Below, I calculate the t-statistic for each column. What is a "good" method to calculate/look-up the p-value for each column? mydf=data.frame(a=c(1,-22,3,-4),b=c(5,-6,-7,9)) mymean=mean(mydf) mysd=sd(mydf) mynn=sapply(mydf, function(x) {sum ( as.numeric(x) >= -Inf) }) myse=mysd/sqrt(mynn) myt=mymean/myse myt --------------------------------- Food fight? Enjoy some healthy debate [[alternative HTML version deleted]]
2003 Apr 23
0
MySQL
...pt: library(RMySQL); con <- dbConnect(dbDriver("MySQL"), dbname = "area"); regionarea <- dbGetQuery(con, "select area from region_areas \ where region like \"Arctic Ocean\"" )$area; mynn <- dbGetQuery(con, paste("select year(date) as year,", "avg(area1)/",regionarea,"*100 as area1,", "avg(area2)/",regionarea,"*100 as area2", "from A...