Class SelfOptimisingKNearestLeaves.SelfOptimisingKNearestLeavesBaseLearner

    • Method Detail

      • reset

        public void reset()
      • trainOnInstance

        public void trainOnInstance​(Instance instance,
                                    double weight,
                                    long instancesSeen)
      • getVotesForInstance

        public double[] getVotesForInstance​(Instance instance)
      • 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