Class Prediction

    • Constructor Detail

      • Prediction

        public Prediction​(java.lang.Object predicted)
    • Method Detail

      • getPrediction

        public java.lang.Object getPrediction()
        Specified by:
        getPrediction in interface org.api4.java.ai.ml.core.evaluation.IPrediction
      • getLabelWithHighestProbability

        public java.lang.Object getLabelWithHighestProbability()
        Specified by:
        getLabelWithHighestProbability in interface org.api4.java.ai.ml.core.evaluation.IPrediction
      • getClassDistribution

        public java.util.Map<?,​java.lang.Double> getClassDistribution()
        Specified by:
        getClassDistribution in interface org.api4.java.ai.ml.core.evaluation.IPrediction
      • getClassConfidence

        public java.util.Map<?,​java.lang.Double> getClassConfidence()
        Specified by:
        getClassConfidence in interface org.api4.java.ai.ml.core.evaluation.IPrediction
      • getProbabilityOfLabel

        public double getProbabilityOfLabel​(java.lang.Object label)
        Specified by:
        getProbabilityOfLabel in interface org.api4.java.ai.ml.core.evaluation.IPrediction