Tutorials · Chapter A (1/4) · ~9 min
Machine learning in plain English
Play → read → next
Machine learning is teaching by examples — not by typing every rule by hand.
Playground
Teach by examples
One message at a time — label Spam or Not spam. Watch the learner score rise.
Message 1 of 6
URGENT: You won $1,000,000 — click now!!!
Recap
What you just did
You felt the difference between programming and learning. Classic programming: you write “if subject contains FREE MONEY, mark spam.” Machine learning: you show thousands of messages already labeled spam or not, and the system finds its own clues — weird links, shouting CAPS, patterns you never thought to list. Same idea with photos: label dog / not dog enough times, and the model starts spotting floppy ears without a human describing “ear” in code.
Teach
How it works
Think of ML as a loop:
- Examples in — labeled or observed data (photos with tags, past purchases, typed corrections).
- Pattern hunt — the model adjusts until it predicts well on those examples.
- Guess on new stuff — a never-seen email or a new selfie.
- Mistakes teach — when users mark “not spam,” that can become more training signal.
Everyday scenes:
- Photos learning faces after you name people a few times.
- Maps improving ETAs from millions of trips like yours.
- Streaming learning that when you finish true-crime at 1 a.m., you’ll accept another episode.
Not magic: if your examples are thin or weird, the “student” copies the weirdness. Teach only night photos of cats in party hats, and daylight cats may look “wrong.”
Use it
When you'd use this
- Someone asks “how does the spam filter work?” — answer: examples, not a handwritten rulebook for every scam.
- You’re tempted to trust AI on a rare case — ask whether it likely saw enough similar examples.
- Building intuition for later bias lessons: skewed examples → skewed learning.
Watch out
Watch out
“The AI knows” often means “it saw similar patterns before.” It doesn’t mean it understands your life story. Also, learning from examples is different from a searchable database of facts — models can mimic the shape of knowledge without a reliable library card.
Try next
Try this next
Pick one app behavior (auto-caption, shopping “similar items,” keyboard autocomplete). Explain it to a friend as: “It saw lots of examples of X, then guessed on mine.”