weka.estimators
Interface UnivariateDensityEstimator
-
- All Superinterfaces:
- RevisionHandler
- All Known Implementing Classes:
- UnivariateEqualFrequencyHistogramEstimator, UnivariateKernelEstimator, UnivariateMixtureEstimator, UnivariateNormalEstimator
public interface UnivariateDensityEstimator extends RevisionHandler
Interface that can be implemented by simple weighted univariate density estimators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddValue(double value, double weight)Adds a value to the density estimator.doublelogDensity(double value)Returns the natural logarithm of the density estimate at the given point.-
Methods inherited from interface weka.core.RevisionHandler
getRevision
-
-
-
-
Method Detail
-
addValue
void addValue(double value, double weight)Adds a value to the density estimator.- Parameters:
value- the value to addweight- the weight of the value
-
logDensity
double logDensity(double value)
Returns the natural logarithm of the density estimate at the given point.- Parameters:
value- the value at which to evaluate- Returns:
- the natural logarithm of the density estimate at the given value
-
-
DataMelt 3.0 © DataMelt by jWork.ORG