Class FMeasure

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicHomogeneousPredictionPerformanceMeasure<java.lang.Object>, org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<java.lang.Object,​java.lang.Object>
    Direct Known Subclasses:
    F1Measure

    public class FMeasure
    extends AHomogeneousPredictionPerformanceMeasure<java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      FMeasure​(double beta, java.lang.Object positiveClass)  
    • Constructor Detail

      • FMeasure

        public FMeasure​(double beta,
                        java.lang.Object positiveClass)
    • Method Detail

      • score

        public double score​(java.util.List<?> expected,
                            java.util.List<?> actual)
        Specified by:
        score in interface org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<java.lang.Object,​java.lang.Object>
        Overrides:
        score in class APredictionPerformanceMeasure<java.lang.Object,​java.lang.Object>