public static class UnivariateGaussian.IncrementalEstimator extends AbstractIncrementalEstimator<java.lang.Double,UnivariateGaussian,UnivariateGaussian.SufficientStatistic>
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_DEFAULT_VARIANCE
The default value for the default variance is 1.0E-5.
|
protected double |
defaultVariance
Amount to add to the variance to keep it from being 0.0.
|
| Constructor and Description |
|---|
IncrementalEstimator()
Creates a new
IncrementalEstimator. |
IncrementalEstimator(double defaultVariance)
Creates a new
IncrementalEstimator with the given default
variance. |
| Modifier and Type | Method and Description |
|---|---|
UnivariateGaussian.SufficientStatistic |
createInitialLearnedObject()
Creates a new initial learned object, before any data is given.
|
double |
getDefaultVariance()
Gets the default variance, which is the amount added to the variance.
|
void |
setDefaultVariance(double defaultVariance)
Sets the default variance, which is the amount added to the variance.
|
clone, updatelearn, learn, updateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlearnlearnupdatepublic static final double DEFAULT_DEFAULT_VARIANCE
protected double defaultVariance
public IncrementalEstimator()
IncrementalEstimator.public IncrementalEstimator(double defaultVariance)
IncrementalEstimator with the given default
variance.defaultVariance - The default variance. Cannot be negative.public UnivariateGaussian.SufficientStatistic createInitialLearnedObject()
IncrementalLearnerpublic double getDefaultVariance()
public void setDefaultVariance(double defaultVariance)
defaultVariance - The default variance. Cannot be negative.