Ch 10 · Mini-Project — A Spam Classifier · Machine Learning & AI
Topic 10 of 13 in Machine Learning & AI — Foundations — 2 lessons.
Learn From Examples
Train on labelled messages by counting which words lean spammy, then score new messages — the same idea behind early email filters.
The Real-World Version
In production you would not hand-count words — you would vectorise text and fit a model. And you can run it right here: scikit-learn is live in the playground.
All topics in Machine Learning & AI Beginner
- What Is Machine Learning?
- Data — Features, Labels & Splitting
- Linear Regression — Fitting a Line
- How Models Learn — Gradient Descent
- Classification — Predicting Categories
- Decision Trees
- Evaluating a Model Honestly
- Overfitting & the Bias-Variance Tradeoff
- The ML Workflow
- Mini-Project — A Spam Classifier
- Clustering — Finding Groups Without Labels
- Your First Real scikit-learn Model
- Words as Numbers — A Taste of NLP