public interface UnivariateDensityEstimator
Modifier and Type | Method and Description |
---|---|
void |
addValue(double value,
double weight)
Adds a value to the density estimator.
|
double |
logDensity(double value)
Returns the natural logarithm of the density estimate at the given
point.
|
void addValue(double value, double weight)
value
- the value to addweight
- the weight of the valuedouble logDensity(double value)
value
- the value at which to evaluateCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.