search for: trainscore

Displaying 2 results from an estimated 2 matches for "trainscore".

Did you mean: trainscores
2008 Dec 15
2
Baffled: triggering error message with an sd result in odfWeave?
...int out my stupid error, because I'm baffled. I am calculating a bunch of variable values and then placing them in a document using odfWeave tags. This is working very nicely for every spot except one. One of the values I calculate is traindev: traindev <- if (trainlength>0) round(sd(trainscores, na.rm=T),1) else "" when I try to insert this traindev value anywhere in my odfWeave document (using \Sexpr{traindev} ), I get the following error: Start tag expected, '<' not found Error: 1: Start tag expected, '<' not found Another formula, postsd<- if (po...
2011 May 24
1
seeking help on using LARS package
...hilippe Vert et. al, Bioinformatics" for a Bioinformatics project that we are working on. I know that the authors of the paper are using Lasso regression and so far looking at their paper this is what I have gotten to. xtrain <- trainData > dim(trainData) [1] 18520 88 ytrain <- trainScore length(ytrain) [1] 18520 nfolds <- 100 epsilon <- exp(-10) # code from JP Vert object1 <- cv.lars(xtrain,ytrain, K=nfolds, fraction = seq(from = 0, to = 1 , length= 1000), type='lasso', eps=epsilon, plot.it=TRUE) bestfraction <- object1$fraction[min(which(object1$cv <=...