Skip to main content

Multi-Class Classification Overview

A classification model with more than two classes.

Supported Metrics

Micro-Averaged Precision, Micro-Averaged Recall, Macro-Averaged Precision, Macro-Averaged Recall, Precision for a Class, Recall for a Class

How To Log Multi-Class Data

Log multi-class classification models based on your use case

Single-Label Use Case

Google Colab

Single-Label Use Case Colab

Example Row
Note: class economy_class has the highest prediction score and will be the prediction label
Code Example

Multi-Label Use Case

Google Colab

Multi-Label Use Case Colab

Example Row
Note: classes jazz and rock have prediction scores > threshold scores and will be part of the prediction label.
Code Example

Inferring Labels From Uploaded Scores

To calculate metrics and visualize & troubleshoot data for multi-class models, Arize automatically infers prediction & actual labels from the scores that you upload. Learn how each case is determined below.