Package com.yahoo.labs.taxomo

Examples of com.yahoo.labs.taxomo.LearnModel


  String learnBestModelStates(Candidate initialCandidate, double d) {
    return learnBestModel(initialCandidate,d).toString(Model.PrintMode.STATES_ONLY);
  }
 
  Model learnBestModel(Candidate initialCandidate, double d) {
    LearnModel learner = new LearnModel(taxo1, sym1, initialCandidate, strategy, d);
    learner.learn();
    return learner.getBestModel();
  }
View Full Code Here


  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();
  }
View Full Code Here

TOP

Related Classes of com.yahoo.labs.taxomo.LearnModel

Copyright © 2018 www.massapicom. 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.