SymbolTransitionFrequencies symbolTransitions = new SymbolTransitionFrequencies(tree);
symbolTransitions.processFile(inputFile);
// Learning
LearnModel learner = new LearnModel(tree, symbolTransitions, initialCandidate, strategy, weight1);
if (jsapResult.userSpecified("max-iterations")) {
learner.setMaxIterations(jsapResult.getInt("max-iterations"));
}
if (jsapResult.userSpecified("batch-size")) {
learner.setBatchSize(jsapResult.getInt("batch-size"));
}