程序包 weka.classifiers
接口 IntervalEstimator
- 所有已知实现类:
GaussianProcesses
public interface IntervalEstimator
Interface for classifiers that can output confidence intervals
- 版本:
- $Revision: 1.2 $
- 作者:
- Kurt Driessens (kurtd@cs.waikato.ac.nz)
-
方法概要
修饰符和类型方法说明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.
-
方法详细资料
-
predictInterval
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. Every row of the returned array gives the probability estimates for a single class. In the case of numeric predictions, a single confidance interval will be returned.- 参数:
inst
- the instance to make the prediction for.confidenceLevel
- the percentage of cases that the interval should cover.- 返回:
- an array of confidance intervals (one for each class)
- 抛出:
Exception
- if the intervals can't be computed
-