Training Your First Classifier
📋 What it is
A classifier learns to sort things into groups (cat/dog, spam/not) from labelled examples.
🗣️ Coach says
A classifier is an AI that sorts things into categories. You train it with LABELLED examples — photos tagged "cat" or "dog" — and it learns the pattern that separates them. Give it a new photo and it predicts the label. Good, varied training examples make a good classifier.
🧠 Memory hook
Classifier = sorts into categories. Train with LABELLED examples → it predicts labels on new things.
😂 Giggle
What did the chatbot say to its programmer?
"I'm having an identity crisis — am I intelligent or just really good at predicting the next word?"
😲 Whoa!
Your email’s spam filter is a classifier trained on millions of emails labelled "spam" or "not spam" — it quietly sorts your inbox every day.
✅ Quick check: What does a classifier need in order to learn to tell cats from dogs?
Say your answer out loud first — then reveal.
Many LABELLED examples — photos already tagged "cat" or "dog" — to learn the pattern that separates them.
Classifiers learn from labelled training data.
🧪 Try it! (2 minutes)
Sort a pile of objects into two groups by a rule (round/not-round). You just "classified" like an AI.