Interface UnivariateQuantileEstimator

All Known Implementing Classes:
UnivariateEqualFrequencyHistogramEstimator, UnivariateKernelEstimator, UnivariateMixtureEstimator, UnivariateNormalEstimator

public interface UnivariateQuantileEstimator
Interface that can be implemented by simple weighted univariate quantile estimators.
Version:
$Revision: 8034 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addValue(double value, double weight)
    Adds a value to the interval estimator.
    double
    predictQuantile(double quantile)
    Returns the quantile for the given percentage
  • Method Details

    • addValue

      void addValue(double value, double weight)
      Adds a value to the interval estimator.
      Parameters:
      value - the value to add
      weight - 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