Displaying 2 results from an estimated 2 matches for "totalpredict".
2009 Jan 10
0
Rserve/RandomForest does not work with a CSV?
...ot;,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,y,no.action=na.roughfix,importance=T,proximity=T)");
conn.voidEval("p<-predict(fit, future)");
conn.voidEval("write.csv(p, file=\"" + (filename.getAbsolutePath()) + "\")");
Every...
2009 Jan 15
2
Interface to open source Reporting tools
...ot;);
> 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,y,no.action=na.roughfix,importance=T,proximity=T)");
> conn.voidEval("p<-predict(fit, future)");
> conn.voidEval("write.csv(p, file=\"" + (filename.getAbsolutePath()) +
> "...