Package weka.classifiers.meta.ensembleSelection

Examples of weka.classifiers.meta.ensembleSelection.ModelBag.shuffle()


    System.out.println("Starting on ensemble bag: " + i);
  // Create a new bag of the appropriate size
  ModelBag modelBag = new ModelBag(predictions, getModelRatio(),
      m_Debug);
  // And shuffle it.
  modelBag.shuffle(rand);
  if (getSortInitializationRatio() > 0.0) {
    // Sort initialize, if the ratio greater than 0.
    modelBag.sortInitialize((int) (getSortInitializationRatio()
        * getModelRatio() * numModels),
        getGreedySortInitialization(), data,
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.