weka.estimators

## Interface UnivariateIntervalEstimator

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

      public interface UnivariateIntervalEstimator

  Interface that can be implemented by simple weighted univariate interval estimators.
  Version:
    $Revision: 8034 $
  Author:
    Eibe Frank (eibe@cs.waikato.ac.nz)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addValue(double value, double weight)` Adds a value to the interval estimator.
    `double[][]` | `predictIntervals(double confidenceValue)` Returns the intervals at the given confidence value.

- - ### Method Detail

    - #### 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

    - #### predictIntervals

          double[][] predictIntervals(double confidenceValue)

      Returns the intervals at the given confidence value. Each row has one interval. The first element in each row is the lower bound, the second element the upper one.
      Parameters:
        `confidenceValue` - the value at which to evaluate
      Returns:
        the interval