Class ExcessCriterion

  • All Implemented Interfaces:
    IMeasure, IPriorMeasure

    public class ExcessCriterion
    extends AbstractSignificanceBasedMeasure
    implements IPriorMeasure
    The E/Excess criterion is a prior efficiency measure based on how much the size of the label set exceeds 1. See [V. Vovk, V. Fedorova, I. Nouretdinov and A. Gammerman, "Criteria of Efficiency for Conformal Prediction", COPA 2016, LNAI 9653, pp. 23-39, 2016] for the definitions used here.
    Author:
    anders.gidenstam(at)hb.se
    • Constructor Detail

      • ExcessCriterion

        public ExcessCriterion​(double significanceLevel)
        Creates an E/Excess criterion measure.
        Parameters:
        significanceLevel - the significance level used for the label sets.
    • Method Detail

      • compute

        public double compute​(ConformalClassification prediction)
        Computes the E/Excess criterion measure for this prediction.
        Specified by:
        compute in interface IPriorMeasure
        Parameters:
        prediction - the prediction.
        Returns:
        the Excess criterion measure for this prediction. Small values are preferable.