public interface IntervalEstimator
Modifier and Type | Method and Description |
---|---|
double[][] |
predictInterval(Instance inst,
double confidenceLevel)
Returns an N*2 array, where N is the number of possible classes, that estimate
the boundaries for the confidence interval with a confidence level specified by
the second parameter.
|
double[][] predictInterval(Instance inst, double confidenceLevel) throws java.lang.Exception
inst
- the instance to make the prediction for.confidenceLevel
- the percentage of cases that the interval should cover.java.lang.Exception
- if the intervals can't be computed