Examples of userSpecified()


Examples of com.martiansoftware.jsap.JSAPResult.userSpecified()

    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"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.