Package classification

Examples of classification.AdaBoost.batchTrain()


  public static LinearClassifier trainAdaBoost(int numIters,
      ArrayList<ClassificationInstance> train, Alphabet xA, Alphabet yA) {
    AdaBoost b = new AdaBoost(numIters, xA, yA,
        new CompleteFeatureFunction(xA, yA));
    LinearClassifier h = b.batchTrain(train);
    return h;
  }

}
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.