weka.classifiers

## Interface IntervalEstimator

- All Known Implementing Classes:
    GaussianProcesses, RegressionByDiscretization

      public interface IntervalEstimator

  Interface for numeric prediction schemes that can output prediction intervals.
  Version:
    $Revision: 8034 $
  Author:
    Kurt Driessens (kurtd@cs.waikato.ac.nz)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double[][]` | `predictIntervals(Instance inst, double confidenceLevel)` Returns an N * 2 array, where N is the number of prediction intervals.

- - ### Method Detail

    - #### predictIntervals

          double[][] predictIntervals(Instance inst,
                                      double confidenceLevel)
                               throws java.lang.Exception

      Returns an N * 2 array, where N is the number of prediction intervals. In each row, the first element contains the lower boundary of the corresponding prediction interval and the second element the upper boundary.
      Parameters:
        `inst` - the instance to make the prediction for.
        `confidenceLevel` - the percentage of cases that the interval should cover.
      Returns:
        an array of prediction intervals
      Throws:
        `java.lang.Exception` - if the intervals can't be computed