/* Java based auto-weka call sequence */ // init object and set options AutoWEKAClassifier awc = new AutoWEKAClassifier(); Experiment exp1 = new autoweka.Experiment(); // set mem limit awc.setMemLimit(1024*7); memlim = awc.getMemLimit(); System.out.printf("memlim = %d\n", memlim); // set time limit awc.setTimeLimit(30); // set classifiers autoweka.Experiment.AllowedClassifiers("RandomForest"); // train classifier awc.buildClassifier(train); // print predictions PrintWriter writer = new PrintWriter(output_file, "UTF-8"); writer.println("prediction,p1,p2"); for(i=0; i