String learnBestModelStates(Candidate initialCandidate, int batchSize, int maxIterations) {
return learnBestModel(initialCandidate, batchSize, maxIterations).toString(Model.PrintMode.STATES_ONLY);
}
Model learnBestModel(Candidate initialCandidate, int batchSize, int numIterations ) {
LearnModel learner = new LearnModel(taxo1, sym1, initialCandidate, strategy, 1.0);
learner.setBatchSize(batchSize);
learner.setMaxIterations(numIterations);
learner.learn();
return learner.getBestModel();
}