Package se.hb.jcp.cp.measures
Interface IObservedProbabilisticMeasure
-
- All Superinterfaces:
IMeasure,IObservedMeasure
- All Known Implementing Classes:
ObservedProbabilityLogLoss,ObservedProbabilitySquareLoss
public interface IObservedProbabilisticMeasure extends IObservedMeasure
An observed measure depends on the prediction made and the true label. See [V. Vovk, I. Petej, "Venn-Abers Predictors", On-line Compression Modelling Project (New Series) Working Paper #7, 2012] for the definitions used here.- Author:
- anders.gidenstam(at)hb.se
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublecompute(ConformalMultiProbabilisticClassification prediction, double trueLabel)Compute the measure for the supplied conformal prediction and true label.-
Methods inherited from interface se.hb.jcp.cp.measures.IObservedMeasure
compute
-
-
-
-
Method Detail
-
compute
double compute(ConformalMultiProbabilisticClassification prediction, double trueLabel)
Compute the measure for the supplied conformal prediction and true label.- Parameters:
prediction- a ConformalMultiProbabilisticClassification.trueLabel- the true label of the instance.- Returns:
- the measure for the supplied prediction.
-
-