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.classifiers
Interface IntervalEstimator

All Known Implementing Classes:
  GaussianProcesses, RegressionByDiscretization

    public interface IntervalEstimator

Interface for numeric prediction schemes that can output prediction intervals.

Version:
  $Revision: 6041 $
Author:
  Kurt Driessens (kurtd@cs.waikato.ac.nz)

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

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