Last updated
Copyright © 2023 Arize AI, Inc
Last updated
A classification model with more than two classes.
, , , , Precision for a Class, Recall for a Class
Log multi-class classification models based on your use case
Example Row
Note: class economy_class
has the highest prediction score and will be the prediction label
Code Example
Example Row
Note: classes jazz
and rock
have prediction scores > threshold scores and will be part of the prediction label.
Code Example
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.
Actual values are optional, and can be sent later via .
Actual values are optional, and can be sent later via .
[{"class_name": "jazz", "score": 0.81},{"class_name": "rock", "score": 0.42},{"class_name": "pop", "score": 0.35}]
[{"class_name": "jazz", "score": 0.5},{"class_name": "rock", "score": 0.4},{"class_name": "pop", "score": 0.6}]
[{"class_name": "rock", "score": 1}]
Single-Label
For each prediction, the class with the highest prediction score is the prediction label
The class with an actual score of 1 is the actual label
Multi-Label
For each class, there must exist a prediction score and threshold score. If the prediction score > threshold score, the class is a part of the prediction label
Each class with an actual score of 1 is part of the actual label