Reading the Model's Predictions
Interpret class probabilities.
Beyond the Label
A model gives you more than a single answer. Learning to read its predictions tells you not just what it chose, but how confident it was.
The Hard Prediction
Calling predict returns the single most likely class for each input. This is the hard label, the model committing to one answer.
print(model.predict(X_new))All lessons in this course
- The Intuition Behind Naive Bayes
- Building a Spam Detector
- Multinomial vs Bernoulli Models
- Reading the Model's Predictions