Package 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
Modifier and TypeMethodDescriptiondouble[][]
predictIntervals
(Instance inst, double confidenceLevel) Returns an N * 2 array, where N is the number of prediction intervals.
-
Method Details
-
predictIntervals
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:
Exception
- if the intervals can't be computed
-