Interface ISingleLabelClassification

  • All Superinterfaces:
    IPrediction

    public interface ISingleLabelClassification
    extends IPrediction
    Interface for classifier that predict a single label among a constant number. The convention is that labels are integers starting from 0 to n - 1 where n is the number of classes.
    • Method Detail

      • getIntPrediction

        int getIntPrediction()
      • getClassDistribution

        java.util.Map<java.lang.Integer,​java.lang.Double> getClassDistribution()
        Specified by:
        getClassDistribution in interface IPrediction
      • getClassConfidence

        java.util.Map<java.lang.Integer,​java.lang.Double> getClassConfidence()
        Specified by:
        getClassConfidence in interface IPrediction
      • getProbabilityOfLabel

        double getProbabilityOfLabel​(int label)