Class 3 · CBSE AI · Strand C — Algorithms are Recipes
When rules aren't enough — why AI learns from examples
Some tasks are too complex to write rules for — so AI learns from examples instead. The bridge to machine learning, for Class 3.
Class 3 · CBSE AI · Strand C — Algorithms are Recipes
Some tasks are too complex to write rules for — so AI learns from examples instead. The bridge to machine learning, for Class 3.
Learning to ride a bicycle
No one can give you a complete written card for balancing on a bicycle. You just ride and ride until your body knows it. The examples-way is similar — instead of giving a computer exact rules for whose handwriting a page is, you show it that person's pages again and again until it starts knowing the writing.
A village elder identifying a ripe mango
An experienced mango seller at the bazaar can tell a ripe Alphonso from an unripe one just by looking and pressing. She can't write every rule she uses — she learned it over 30 years of handling thousands of mangoes. A computer can learn the same way: from thousands of examples, not from a written rule list.
Every Dhee Learning session for this concept follows three stages. We share the questions Dhee actually asks, so you can hear what a session sounds like.
Stage 1 — Surface
Forty test notebooks came back with no names. Could you write steps a helper could follow to sort them by handwriting? Try it, and tell me what you would write.
Rote answer
"Child lists clues like tall letters or blue pen without noticing that each one also fits other children's notebooks"
Understood
"Child writes a clue, then sees that classmates share it, so the step pulls out the wrong notebooks and cannot point to one writer"
Stage 2 — Reasoning
Your class names a writer in one glance, but no written rule does. Why do more and more handwriting rules keep catching the wrong notebooks?
Follow-up Dhee may use: So what would you give a helper instead of rules, so she could learn each person's writing?
Stage 3 — Application
Two jobs: (A) putting the notebooks in class-number order; (B) telling which drawings on the wall your best friend made. Which one would you write steps for, and which one needs examples? Why?
Misconception Dhee watches for: Child thinks every job can be written as steps if the steps are careful enough, missing that a messy job needs examples instead
Dhee turns this concept into a short spoken lesson — teaching, listening, and probing — so your child builds the idea themselves.
Some tasks are too complex to write rules for — so AI learns from examples instead. The bridge to machine learning, for Class 3.
A clever enough programmer can always write rules to solve any problem
Dhee opens with a question — for example: "Forty test notebooks came back with no names. Could you write steps a helper could follow to sort them by handwriting? Try it, and tell me what you would write." — listens to your child's answer, then probes the reasoning behind it. The session ends when the child can apply the idea to a brand-new situation, not just recall it.