Class DecisionTree.Node

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

    public static class DecisionTree.Node
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • depth

        public int depth()
        The root has depth zero.
      • isLeaf

        public boolean isLeaf()
      • isRoot

        public boolean isRoot()
      • getSplitInfoGain

        public double getSplitInfoGain()
      • getSplitFeature

        public java.lang.Object getSplitFeature()
      • stopGrowth

        public void stopGrowth()
      • getName

        public java.lang.String getName()
      • print

        public void print()