weka.classifiers.meta.generators
Interface Mean

All Known Implementing Classes:
GaussianGenerator, MixedGaussianGenerator, RandomizableDistributionGenerator

public interface Mean

A interface indicating that a class expects the mean and standard deviation to be set.

Version:
$Revision: 8109 $
Author:
Kathryn Hempstalk (kah18 at cs.waikato.ac.nz)

Method Summary
 void setMean(double newmean)
          Sets the mean of the Gaussian distribution to a new mean.
 void setStandardDeviation(double newsd)
          Sets the standard deviation of the Gaussian distribution to a new value.
 

Method Detail

setMean

void setMean(double newmean)
Sets the mean of the Gaussian distribution to a new mean.

Parameters:
newmean - The new mean for the distribution.

setStandardDeviation

void setStandardDeviation(double newsd)
Sets the standard deviation of the Gaussian distribution to a new value.

Parameters:
newsd - The new standard deviation.