A model you train to classify data into discrete categories.
- macOS 10.14+
- Xcode 10.0+
- Create ML
MLClassifier to train a general-purpose model to recognize categories.
For example, you can create a classifier that predicts whether a sports team is likely to win or lose its next game by training it with these inputs:
The team’s win-loss ratio
The team’s game locations
When you create an
MLClassifier, Create ML inspects your data and automatically chooses a specific classifier (see Supporting Classifier Types).