Examples of branchInstanceGoesDown()


Examples of weka.classifiers.trees.adtree.Splitter.branchInstanceGoesDown()

              double currentValue) {
   
    currentValue += currentNode.getValue();
    for (Enumeration e = currentNode.children(); e.hasMoreElements(); ) {
      Splitter split = (Splitter) e.nextElement();
      int branch = split.branchInstanceGoesDown(inst);
      if (branch >= 0)
  currentValue = predictionValueForInstance(inst, split.getChildForBranch(branch),
              currentValue);
    }
    return currentValue;
View Full Code Here

Examples of weka.classifiers.trees.adtree.Splitter.branchInstanceGoesDown()

              double currentValue) {
   
    currentValue += currentNode.getValue();
    for (Enumeration e = currentNode.children(); e.hasMoreElements(); ) {
      Splitter split = (Splitter) e.nextElement();
      int branch = split.branchInstanceGoesDown(inst);
      if (branch >= 0)
  currentValue = predictionValueForInstance(inst, split.getChildForBranch(branch),
              currentValue);
    }
    return currentValue;
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.