Package com.yahoo.labs.taxomo

Examples of com.yahoo.labs.taxomo.LearnModel.learn()


    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();
  }
 
  String learnBestModelFull(Candidate initialCandidate, int batchSize, int maxIterations) {
    return learnBestModel(initialCandidate, batchSize, maxIterations).toString(Model.PrintMode.FULL);
View Full Code Here


 
  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();
  }
 
  Candidate getLeafCandidate() {
    return Candidate.createLeafCandidate(taxo1);
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.