Class JaccardScore

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<java.util.Collection<java.lang.Integer>,​java.util.Collection<java.lang.Integer>>

    public class JaccardScore
    extends AInstanceMeasure<java.util.Collection<java.lang.Integer>,​java.util.Collection<java.lang.Integer>>
    • Constructor Summary

      Constructors 
      Constructor Description
      JaccardScore()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double score​(java.util.Collection<java.lang.Integer> expected, java.util.Collection<java.lang.Integer> actual)  
      • Methods inherited from class java.lang.Object

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

      • JaccardScore

        public JaccardScore()
    • Method Detail

      • score

        public double score​(java.util.Collection<java.lang.Integer> expected,
                            java.util.Collection<java.lang.Integer> actual)
        Specified by:
        score in interface org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<java.util.Collection<java.lang.Integer>,​java.util.Collection<java.lang.Integer>>
        Overrides:
        score in class AInstanceMeasure<java.util.Collection<java.lang.Integer>,​java.util.Collection<java.lang.Integer>>