Class AInstanceMeasure<O,​P>

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<O,​P>
    Direct Known Subclasses:
    JaccardScore, SquaredError

    public class AInstanceMeasure<O,​P>
    extends java.lang.Object
    implements org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<O,​P>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double loss​(P expected, O actual)  
      double score​(P expected, O actual)  
      • Methods inherited from class java.lang.Object

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

      • AInstanceMeasure

        public AInstanceMeasure()
    • Method Detail

      • loss

        public double loss​(P expected,
                           O actual)
        Specified by:
        loss in interface org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<O,​P>
      • score

        public double score​(P expected,
                            O actual)
        Specified by:
        score in interface org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicInstancePredictionPerformanceMeasure<O,​P>