Class FuzzinessCriterion

  • All Implemented Interfaces:
    IMeasure, IPriorMeasure

    public class FuzzinessCriterion
    extends java.lang.Object
    implements IPriorMeasure
    The F/Fuzziness criterion is a prior efficiency measure based on the difference between the sum of all p-values and the largest p-value. 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double compute​(ConformalClassification prediction)
      Computes the F/Fuzziness criterion measure for this prediction.
      java.lang.String getName()
      Get the name of this measure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FuzzinessCriterion

        public FuzzinessCriterion()
    • Method Detail

      • compute

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

        public java.lang.String getName()
        Get the name of this measure.
        Specified by:
        getName in interface IMeasure
        Returns:
        the name of this measure.