weka.estimators
Interface UnivariateQuantileEstimator
-
- All Known Implementing Classes:
- UnivariateEqualFrequencyHistogramEstimator, UnivariateKernelEstimator, UnivariateMixtureEstimator, UnivariateNormalEstimator
public interface UnivariateQuantileEstimatorInterface that can be implemented by simple weighted univariate quantile 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 interval estimator.doublepredictQuantile(double quantile)Returns the quantile for the given percentage
-
-
-
Method Detail
-
addValue
void addValue(double value, double weight)Adds a value to the interval estimator.- Parameters:
value- the value to addweight- the weight of the value
-
predictQuantile
double predictQuantile(double quantile)
Returns the quantile for the given percentage- Parameters:
value- the value at which to evaluate- Returns:
- the quantile
-
-
DataMelt 3.0 © DataMelt by jWork.ORG