Class ISOUPTree.LeafNode

    • Constructor Detail

      • LeafNode

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

      • initializeInputIndexes

        public void initializeInputIndexes()
      • learnFromInstance

        public void learnFromInstance​(Instance instance,
                                      double[] prediction,
                                      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
      • getPredictionModel

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

        public double[] getPredictionTargetMean​(Instance inst)
      • checkForSplit

        public void checkForSplit()