Documentation of 'smile.validation.Fallout' Java class
Fallout
smile.validation

Class Fallout

  • All Implemented Interfaces:
    ClassificationMeasure


    public class Fallout
    extends java.lang.Object
    implements ClassificationMeasure
    Fall-out, false alarm rate, or false positive rate (FPR)

    FPR = FP / N = FP / (FP + TN)

    Fall-out is actually Type I error and closely related to specificity (1 - specificity).

    • Constructor Summary

      Constructors 
      Constructor and Description
      Fallout() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double measure(int[] truth, int[] prediction)
      Returns an index to measure the quality of classification.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Fallout

        public Fallout()
    • Method Detail

      • measure

        public double measure(int[] truth,
                              int[] prediction)
        Description copied from interface: ClassificationMeasure
        Returns an index to measure the quality of classification.
        Specified by:
        measure in interface ClassificationMeasure
        Parameters:
        truth - the true class labels.
        prediction - the predicted class labels.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.