Class ObservedOneCCriterion

    • Constructor Detail

      • ObservedOneCCriterion

        public ObservedOneCCriterion​(double significanceLevel)
        Creates an Observed OneC measure.
        Parameters:
        significanceLevel - the significance level used for the label sets.
    • Method Detail

      • compute

        public double compute​(ConformalClassification prediction,
                              double trueLabel)
        Computes the Observed OneC criterion measure for this prediction and true label.
        Specified by:
        compute in interface IObservedMeasure
        Parameters:
        prediction - the prediction.
        trueLabel - the true label of the instance.
        Returns:
        the Observed OneC measure for this prediction. Large values are preferable.