Class ARFFIMTDD.Node

    • Field Detail

      • ID

        public int ID
      • changeDetection

        protected boolean changeDetection
      • examplesSeen

        protected double examplesSeen
      • sumOfValues

        protected double sumOfValues
      • sumOfSquares

        protected double sumOfSquares
      • sumOfAbsErrors

        protected double sumOfAbsErrors
    • Constructor Detail

    • Method Detail

      • copyStatistics

        public void copyStatistics​(ARFFIMTDD.Node node)
      • calcByteSize

        public int calcByteSize()
      • setParent

        public void setParent​(ARFFIMTDD.Node parent)
        Set the parent node
      • getParent

        public ARFFIMTDD.Node getParent()
        Return the parent node
      • disableChangeDetection

        public void disableChangeDetection()
      • restartChangeDetection

        public void restartChangeDetection()
      • getDescription

        public void getDescription​(StringBuilder sb,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent
      • getPrediction

        public double getPrediction​(Instance inst)
      • describeSubtree

        public void describeSubtree​(StringBuilder out,
                                    int indent)
      • getLevel

        public int getLevel()
      • setChild

        public void setChild​(int parentBranch,
                             ARFFIMTDD.Node node)
      • getNumSubtrees

        public int getNumSubtrees()
      • skipInLevelCount

        protected boolean skipInLevelCount()