Skip to main content
Back to Course 101
2/12
Unit 2 of 12
Unit 02 — Phase 01

Nobody Programmed This

How It Actually Works

Listen to this unit

Read-aloud narrates the unit in a natural voice, paragraph by paragraph. It needs an account.

In short

Traditional programming is humans writing rules. Machine learning is humans providing examples and the system finding its own rules. This is why AI can discover things humans never thought of — like AlphaGo's Move 37.

Socratic Mode

The Hook

If you wanted a computer to sort a list of names alphabetically, a programmer would write step-by-step instructions: compare the first letter, swap if needed, repeat. Every rule, explicitly written by a human.

Now think about this: how would you write step-by-step instructions for recognizing a cat? Describe every possible cat — fluffy ones, hairless ones, kittens, fat cats, cats in boxes, cats that look like bread. You can't. There are too many variations, too many edge cases, too many weird cats on the internet.

So how does your phone know it's looking at a cat? Nobody wrote those rules. The AI figured them out on its own.

Video — Nobody Programmed ThisWatch on YouTube

The Core Concept

Traditional programming works like a recipe. A human writes every instruction: if this, then that. The computer follows those instructions exactly. It never deviates, never improvises, and never learns anything new unless someone edits the code.

flips this entirely. Instead of writing rules, you give the system examples. Thousands of them. Millions of them. Photos labeled "cat" and photos labeled "not cat." The system looks at all those examples and finds its own rules — its own patterns — for telling the difference. Nobody wrote a line of code that says "cats have pointy ears." The system discovered that on its own by seeing enough examples.

Explained your way: the AI rewrites this idea around something you already know.

This is a fundamentally different way of building technology, and it's the reason AI has exploded in the past few years.

Here's a useful way to think about it:

Traditional programming: Human writes rules → Computer follows rules → Output Machine learning: Human provides examples → Computer finds its own rules → Output

Traditional Programming
A human writes every rule explicitly. The computer follows instructions exactly and never learns anything new. It can only do what someone told it to do. To change behavior, you rewrite the code.
Machine Learning
A human provides thousands of examples. The computer discovers its own rules from the data. It can find things humans never thought to look for. To change behavior, you change the training data.

The shift is subtle but enormous. In traditional programming, the computer can only do what a human explicitly told it to do. In machine learning, the computer can find things humans never thought to look for.

That's exactly what happened with AlphaGo, Google DeepMind's Go-playing AI. In 2016, it played against Lee Sedol, one of the greatest Go players in history. In Game 2, AlphaGo played Move 37 — a move so unusual that professional Go players said no human would have made it. The probability of a human player choosing that move was estimated at 1 in 10,000. Commentators were baffled. Then, slowly, they realized it was brilliant. The AI had taught itself a strategy that 3,000 years of human Go expertise had never found.

Nobody programmed that move. It emerged from the system playing millions of games against itself and finding patterns no human had discovered.

In March 2016, during Game 2 against world champion Lee Sedol, AlphaGo placed a stone on a position that left commentators speechless. Fan Hui, another professional Go player working with DeepMind, later described the moment: "It's not a human move. I've never seen a human play this move."

The move violated centuries of Go wisdom. Experts initially thought it was a mistake. Within ten moves, they realized it was brilliant — it set up a strategic advantage that unfolded across the rest of the game. AlphaGo had discovered a strategy hidden in the game's mathematics that 3,000 years of human play never found.

Lee Sedol lost the match 4-1. His single win — Game 4 — was later called the "Hand of God" move. Even the human triumph was inspired by an AI opponent.

This is the power and the strangeness of machine learning. The system does things its own creators didn't expect. It finds solutions humans didn't anticipate. And sometimes — like with Move 37 — those solutions are better than anything a human came up with.

But there's a flip side. Because nobody wrote the rules explicitly, nobody can fully explain why the system made a particular decision. This is the problem, and it matters a lot when AI is making decisions about medical diagnoses, loan approvals, or criminal sentencing. We'll come back to this.

For now, the key idea is this: AI learns from examples, not instructions. That single distinction separates it from every technology that came before.

Knowledge check
What is the fundamental difference between traditional programming and machine learning?
Knowledge checks save to your account.

Live Demo

Step 1 — Teachable Machine. Go to Google's Teachable Machine:

Interactive tool — Google Teachable Machine — Train your own AI

Google Teachable Machine — Train your own AI

This tool opens in a new tab where you can interact with it directly.

Launch Tool

Click "Image Project" then "Standard image model."

Step 2 — Create two classes. Label one "Thumbs Up" and one "Thumbs Down" (or anything you want — "Smiling" and "Not Smiling," "Pen" and "No Pen").

Step 3 — Record examples. Hold up a thumbs up to your webcam and click "Record" to capture 30-50 images. Do the same for thumbs down.

Step 4 — Click "Train Model." Watch the progress bar. In under a minute, your AI model will be ready.

Step 5 — Test it. Hold up a thumbs up. Does it classify correctly? Try weird angles, different lighting, someone else's hand. Notice where it gets confident and where it gets uncertain.

What just happened: You didn't write a single rule about what a thumbs up looks like. You gave the system examples, and it figured out its own rules. That's machine learning. You just did it in 90 seconds.

After training, deliberately try to fool your model. Change the lighting dramatically, use a different background, have someone else test it, or partially obscure the object. Document each failure. Then add more diverse and retrain. The improvement directly shows you why data diversity matters.

Why This Matters

Understanding that AI learns from examples — not from instructions — changes how you think about three important things.

First, it explains why AI can be surprisingly good at things nobody expected. Language models weren't programmed to write poetry or debug code. They learned to do those things by seeing enough examples of language that those capabilities emerged.

Second, it explains why AI fails in unexpected ways. If the training examples were limited, biased, or unrepresentative, the AI's self-taught rules will be limited, biased, and unrepresentative too. Nobody can debug rules that nobody wrote.

Third, it shifts responsibility. When a traditional program fails, you can look at the code and find the bug. When a machine learning system fails, the problem might be in the data it was on, the way the training was set up, or somewhere in the billions of that no human can inspect one by one. This makes accountability harder — and that's a problem society is still figuring out.

Knowledge check
When a machine learning system makes a biased decision (like favoring one group over another), the most likely cause is:
Knowledge checks save to your account.

The Challenge

Teach the Machine, Break the Machine

30 minutesHands-on

Using Google Teachable Machine (teachablemachine.withgoogle.com):

  1. Train a model to distinguish between two things of your choice (open hand vs. fist, two different objects, two facial expressions).
  2. Test under normal conditions — How accurate is it? Document accuracy with 10 test inputs.
  3. Break it with adversarial tests — Change the lighting dramatically, use a different background, have someone else test it, partially obscure the object, hold it at an unusual angle.
  4. Document what happened — Where did the model fail? Can you explain why based on what training examples it had?
  5. Fix it — Add more diverse training examples and retrain. Did accuracy improve? By how much?
Success criteria: You can explain why your model failed on certain inputs, connect it to the concept of learning from examples, and demonstrate that more diverse examples improve performance.
Submitting your work needs an account.

Key Takeaways

  1. 1Traditional programming is humans writing rules. Machine learning is humans providing examples and the system finding its own rules.
  2. 2This is why AI can discover things humans never thought of — like AlphaGo's Move 37.
  3. 3It's also why AI fails in ways nobody predicted — because nobody wrote the rules, nobody can fully audit them.
  4. 4The quality and diversity of training examples directly determines what the AI can and can't do.

The Rabbit Hole

Type: Video Title: AlphaGo Documentary URL: https://youtube.com/watch?v=WXuK6gekU1Y Description: The full 90-minute documentary (free on YouTube). The moment when Lee Sedol sees Move 37 — the look on his face — is one of the most important moments in the history of AI.

Video — AlphaGo — Full Documentary (90 min)Watch on YouTube
AlphaGo — Full Documentary (90 min)

TypeTitleURLDescription
VideoCGP Grey, "How Machines Learn" (9 min)youtube.com/watchAccessible metaphor-driven explanation of how ML learns from data
Video3Blue1Brown, "Gradient Descent: How Neural Networks Learn" (21 min)youtube.com/watchVisual deep-dive into the math behind how networks adjust their patterns
VideoAlphaGo Documentary (90 min, free)youtube.com/watchThe full story of AlphaGo vs Lee Sedol — essential viewing
ToolGoogle Teachable Machineteachablemachine.withgoogle.comTrain your own image/sound/pose recognizer with no coding
ToolTensorFlow Playgroundplayground.tensorflow.orgWatch a neural network learn to classify data interactively
ArticleGoogle DeepMind, AlphaGo Research Pagedeepmind.google/research/alphagoTechnical overview of AlphaGo's architecture and achievements
ArticleWikipedia, "AlphaGo versus Lee Sedol"en.wikipedia.org/wiki/AlphaGo_versus…Comprehensive account of the historic match
BookHannah Fry, Hello World: Being Human in the Age of Algorithms (2018)Accessible exploration of how algorithms shape decisions in society
CourseGoogle ML Crash Course (free, ~15 hours)developers.google.com/machine-learning/cr…Google's free introduction to machine learning concepts

Last updated: May 21, 2026. Video embeds and links were refreshed on this date; how training works hasn't changed.

Track your progress

Marking a unit complete, the Prove It check and your place in the course all need an account. The reading stays free.