Schnittstelle ClassificationResult

Alle bekannten Implementierungsklassen:
MultiClassLogisticRegressionClassificationResult, MultiClassNaiveBayesClassificationResult, MultiClassRandomForestClassificationResult, MultiClassZeroRClassificationResult

public interface ClassificationResult
A classification result
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    double[]
    Returns the confidences for all class values
    boolean
    correct(String clazz)
    Returns whether the result is correct
    double
    error(String clazz)
    Returns the error
    int
    Returns the index of the predicted value
  • Methodendetails

    • confidences

      double[] confidences()
      Returns the confidences for all class values
      Gibt zurück:
    • correct

      boolean correct(String clazz)
      Returns whether the result is correct
      Parameter:
      clazz -
      Gibt zurück:
    • error

      double error(String clazz)
      Returns the error
      Parameter:
      clazz -
      Gibt zurück:
    • index

      int index()
      Returns the index of the predicted value
      Gibt zurück: