Map<String, String> trainingParameters = new HashMap<String, String>();
trainingParameters.put("tasks", "5");
trainingParameters.put("training.max.iterations", "" + iteration);
trainingParameters.put("training.batch.size", "300");
trainingParameters.put("convergence.check.interval", "1000");
ann.train(new Path(trainingDataPath), trainingParameters);
}
}
private static void printUsage() {