Class FIMTDD.LeafNode

    • Constructor Detail

      • LeafNode

        public LeafNode​(FIMTDD tree)
        Create a new LeafNode
    • Method Detail

      • learnFromInstance

        public void learnFromInstance​(Instance inst,
                                      boolean growthAllowed)
        Method to learn from an instance that passes the new instance to the perceptron learner, and also prevents the class value from being truncated to an int when it is passed to the attribute observer
      • getBestSplitSuggestions

        public AttributeSplitSuggestion[] getBestSplitSuggestions​(SplitCriterion criterion)
        Return the best split suggestions for this node using the given split criteria
      • getPredictionModel

        public double getPredictionModel​(Instance inst)
        Retrieve the class votes using the perceptron learner
      • getPredictionTargetMean

        public double getPredictionTargetMean​(Instance inst)
      • checkForSplit

        public void checkForSplit​(FIMTDD tree)