← All types
AI & MLOb Object

MLClassMetrics

Precision, recall and F1 for one class

Fields

label

String!Non-null

Class label

Share of rows predicted as this class that were; null when none were predicted

recall

FloatNullable

Share of this class's rows that were predicted as it; null when the class has no rows

f1

FloatNullable

Harmonic mean of precision and recall; null when either is undefined

support

Int!Non-null

Held-out rows of this class

Referenced by (1)
Exact type SDL
"""Precision, recall and F1 for one class"""
type MLClassMetrics {
  """Class label"""
  label: String!
  """
  Share of rows predicted as this class that were; null when none were predicted
  """
  precision: Float
  """
  Share of this class's rows that were predicted as it; null when the class has no rows
  """
  recall: Float
  """Harmonic mean of precision and recall; null when either is undefined"""
  f1: Float
  """Held-out rows of this class"""
  support: Int!
}