Examples of backwardEliminate()


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

  for (int j = 0; j < getHillclimbIterations(); ++j) {
    if (m_algorithm == ALGORITHM_FORWARD) {
      modelBag.forwardSelect(getReplacement(), data,
    m_hillclimbMetric);
    } else if (m_algorithm == ALGORITHM_BACKWARD) {
      modelBag.backwardEliminate(data, m_hillclimbMetric);
    } else if (m_algorithm == ALGORITHM_FORWARD_BACKWARD) {
      modelBag.forwardSelectOrBackwardEliminate(
    getReplacement(), data, m_hillclimbMetric);
    }
  }
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.