java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.evaluation.classification.MulticlassConfusionMatrix
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject, EvaluationMetric

public class MulticlassConfusionMatrix extends Object implements EvaluationMetric
MulticlassConfusionMatrix is a metric that answers the question: "How many documents belonging to class X were classified as Y by the classifier?" for all the possible class pairs {X, Y}.
  • Field Details

    • NAME

      public static final org.elasticsearch.xcontent.ParseField NAME
    • SIZE

      public static final org.elasticsearch.xcontent.ParseField SIZE
    • AGG_NAME_PREFIX

      public static final org.elasticsearch.xcontent.ParseField AGG_NAME_PREFIX
  • Constructor Details

    • MulticlassConfusionMatrix

      public MulticlassConfusionMatrix()
    • MulticlassConfusionMatrix

      public MulticlassConfusionMatrix(@Nullable Integer size, @Nullable String aggNamePrefix)
    • MulticlassConfusionMatrix

      public MulticlassConfusionMatrix(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details