Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.estimators
Interface UnivariateIntervalEstimator

All Known Implementing Classes:
  UnivariateEqualFrequencyHistogramEstimator, UnivariateKernelEstimator, UnivariateNormalEstimator

    public interface UnivariateIntervalEstimator

Interface that can be implemented by simple weighted univariate interval estimators.

Version:
  $Revision: 5861 $
Author:
  Eibe Frank (eibe@cs.waikato.ac.nz)

Method Summary
`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

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD