public interface UnivariateDensityEstimator extends RevisionHandler
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.
|
getRevision
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 evaluate