Class AccessibleRandomTree.AccessibleTree

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    AccessibleRandomTree

    public class AccessibleRandomTree.AccessibleTree
    extends weka.classifiers.trees.RandomTree.Tree
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected AccessibleRandomTree.AccessibleTree[] successors
      The subtrees appended to this tree.
      • Fields inherited from class weka.classifiers.trees.RandomTree.Tree

        m_Attribute, m_ClassDistribution, m_Distribution, m_Prop, m_SplitPoint, m_Successors
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessibleTree()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void buildTree​(weka.core.Instances data, double[] classProbs, int[] attIndicesWindow, double totalWeight, java.util.Random random, int depth, double minVariance)  
      double[] distributionForInstance​(weka.core.Instance instance)  
      int getAttribute()  
      double getSplitPoint()  
      AccessibleRandomTree.AccessibleTree[] getSuccessors()  
      • Methods inherited from class weka.classifiers.trees.RandomTree.Tree

        backfitData, backfitData, distribution, gain, getM_Attribute, getM_Classdistribution, getM_SplitPoint, getM_Successors, getRevision, leafString, numericDistribution, numNodes, priorVal, splitData, toGraph, toGraph, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessibleTree

        public AccessibleTree()
    • Method Detail

      • buildTree

        protected void buildTree​(weka.core.Instances data,
                                 double[] classProbs,
                                 int[] attIndicesWindow,
                                 double totalWeight,
                                 java.util.Random random,
                                 int depth,
                                 double minVariance)
                          throws java.lang.Exception
        Overrides:
        buildTree in class weka.classifiers.trees.RandomTree.Tree
        Throws:
        java.lang.Exception
      • distributionForInstance

        public double[] distributionForInstance​(weka.core.Instance instance)
                                         throws java.lang.Exception
        Overrides:
        distributionForInstance in class weka.classifiers.trees.RandomTree.Tree
        Throws:
        java.lang.Exception
      • getAttribute

        public int getAttribute()
      • getSplitPoint

        public double getSplitPoint()