Documentation of 'jsat.classifiers.boosting.WaggingNormal' Java class
WaggingNormal
jsat.classifiers.boosting

Class WaggingNormal

    • Constructor Detail

      • WaggingNormal

        public WaggingNormal(Classifier weakLearner,
                             int interations)
        Creates a new Wagging classifier
        Parameters:
        weakLearner - the weak learner to use
        interations - the number of iterations to perform
      • WaggingNormal

        public WaggingNormal(Regressor weakLearner,
                             int interations)
        Creates a new Wagging regressor
        Parameters:
        weakLearner - the weak learner to use
        interations - the number of iterations to perform
    • Method Detail

      • setDistribution

        public void setDistribution(ContinuousDistribution dist)
        Description copied from class: Wagging
        Sets the distribution to select the random weights from
        Overrides:
        setDistribution in class Wagging
        Parameters:
        dist - the distribution to use
      • setMean

        public void setMean(double mean)
        Sets the mean value used for the normal distribution
        Parameters:
        mean - the new mean value
      • getMean

        public double getMean()
        Returns the mean value used for the normal distribution
        Returns:
        the mean value used
      • setStandardDeviations

        public void setStandardDeviations(double devs)
        Sets the standard deviations used for the normal distribution
        Parameters:
        devs - the standard deviations to set
      • getStandardDeviations

        public double getStandardDeviations()
        Returns the standard deviation used for the normal distribution
        Returns:
        the standard deviation used

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.