Skip to content

Commit

Permalink
Fixed to write ouput to terminal so it can be read in BC
Browse files Browse the repository at this point in the history
  • Loading branch information
olas committed May 21, 2012
1 parent 278cbf3 commit fe72d82
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -36,6 +36,7 @@ protected List<String> getPredictionString(String input){
ret.add(tempvar + " <- predict(u251.imputed, " + tempvar + ")");
ret.add("names("+ tempvar + ") <- rownames(u251.rf$importance)");
ret.add(predictvar + " <- predict(u251.rf, t(" + tempvar + "), type=\"prob\")[2]");
ret.add(predictvar);
return ret;
}

Expand Down

0 comments on commit fe72d82

Please sign in to comment.