Class SingleEvaluationAggregatedMeasure<E,​A>

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>

    public class SingleEvaluationAggregatedMeasure<E,​A>
    extends java.lang.Object
    implements org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>
    • Constructor Summary

      Constructors 
      Constructor Description
      SingleEvaluationAggregatedMeasure​(org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<E,​A> lossFunction)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<E,​A> getBaseMeasure()  
      double loss​(java.util.List<java.util.List<? extends E>> expected, java.util.List<java.util.List<? extends A>> actual)  
      double loss​(java.util.List<org.api4.java.ai.ml.core.evaluation.IPredictionAndGroundTruthTable<? extends E,​? extends A>> pairTables)  
      double score​(java.util.List<java.util.List<? extends E>> expected, java.util.List<java.util.List<? extends A>> actual)  
      double score​(java.util.List<org.api4.java.ai.ml.core.evaluation.IPredictionAndGroundTruthTable<? extends E,​? extends A>> pairTables)  
      • Methods inherited from class java.lang.Object

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

      • SingleEvaluationAggregatedMeasure

        public SingleEvaluationAggregatedMeasure​(org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<E,​A> lossFunction)
    • Method Detail

      • loss

        public double loss​(java.util.List<java.util.List<? extends E>> expected,
                           java.util.List<java.util.List<? extends A>> actual)
        Specified by:
        loss in interface org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>
      • loss

        public double loss​(java.util.List<org.api4.java.ai.ml.core.evaluation.IPredictionAndGroundTruthTable<? extends E,​? extends A>> pairTables)
        Specified by:
        loss in interface org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>
      • score

        public double score​(java.util.List<java.util.List<? extends E>> expected,
                            java.util.List<java.util.List<? extends A>> actual)
        Specified by:
        score in interface org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>
      • score

        public double score​(java.util.List<org.api4.java.ai.ml.core.evaluation.IPredictionAndGroundTruthTable<? extends E,​? extends A>> pairTables)
        Specified by:
        score in interface org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>
      • getBaseMeasure

        public org.api4.java.ai.ml.core.evaluation.supervised.loss.IDeterministicPredictionPerformanceMeasure<E,​A> getBaseMeasure()
        Specified by:
        getBaseMeasure in interface org.api4.java.ai.ml.core.evaluation.execution.IAggregatedPredictionPerformanceMeasure<E,​A>