search for: totaltraindata

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

2009 Jan 10
0
Rserve/RandomForest does not work with a CSV?
...something like: RConnection conn = new RConnection("127.0.0.1"); conn.voidEval("library('randomForest')"); conn.voidEval("train<-read.csv(\"" + (outfile.getAbsolutePath()) + "\",header=FALSE)"); conn.voidEval("x<-train[1:" + totalTrainData + ",1:11]"); conn.voidEval("y<-as.factor(train[1:" + totalTrainData + ",12])"); conn.voidEval("future<-train[" + (totalTrainData + 1) + ":" + (totalTrainData + totalPredictions) + ",1:11]"); conn.voidEval("fit<-randomForest(x...
2009 Jan 15
2
Interface to open source Reporting tools
...nnection conn = new RConnection("127.0.0.1"); > conn.voidEval("library('randomForest')"); > conn.voidEval("train<-read.csv(\"" + (outfile.getAbsolutePath()) + > "\",header=FALSE)"); > conn.voidEval("x<-train[1:" + totalTrainData + ",1:11]"); > conn.voidEval("y<-as.factor(train[1:" + totalTrainData + ",12])"); > conn.voidEval("future<-train[" + (totalTrainData + 1) + ":" + > (totalTrainData + totalPredictions) + ",1:11]"); > > conn.voidEval(&qu...