Metrics used to evaluate a classifier’s performance.
- macOS 10.14+
- Xcode 10.0+
- Create ML
MLClassifier to evaluate your model’s ability to distinguish between different categories when it is classifying data.
You can determine the model's accuracy using the
classification metric. For information about how your model is mislabeling or missing a certain category, use the
precision metric. To determine specific cases where your model is mistaking one label for another, use the