Tutorials · Chapter A (1/4) · ~9 min
Machine learning in plain English
Try it → see it → read → next
Machine learning is teaching by examples — not by typing every rule by hand.
Try yourself
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
See it
- 01Examples inLabeled data
- 02Pattern huntAdjust to fit
- 03Guess newUnseen input
- 04Mistakes teachMore signal
Teach with examples — not hand-written rules for every case
Watch the loop in See it above: examples → pattern hunt → guess on something new → mistakes teach.
Same loop in real life: Photos learning faces, Maps improving ETAs, spam filters updating from “not junk.” Thin or weird examples → thin or weird guesses (train only on night cats in hats, and daylight cats 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.”