💻 TechnologyGrade 3Lesson 34
← Back🔒 PDF with full access

How machines learn from data

Lesson preview: the Mini Lesson and Vocabulary are open to everyone. Guided practice, exercises, the parent checklist and the printable PDF worksheet come with full access (free 7-day trial or membership).

Learning Objectives

  • 1Explain what machine learning is in simple terms
  • 2Describe how a machine uses training data to improve its performance
  • 3Classify examples as machine learning or not machine learning
📘

Mini Lesson

Machine learning is a type of artificial intelligence where a computer program improves its performance by studying examples — called training data. Instead of a human writing every rule, the program figures out the rules itself by looking at thousands of examples and spotting patterns. The more examples it studies, the better it gets at making correct predictions.

How Machine Learning Works — Step by Step

  1. Collect training data — gather thousands of labeled examples (e.g. photos labeled "cat" or "not cat").
  2. Feed data to the model — the program studies the examples and looks for shared features.
  3. Find patterns — it notes what cats look like: pointed ears, fur, whiskers, and so on.
  4. Test the model — show it new photos it has never seen and check if it labels them correctly.
  5. Improve — correct wrong answers and re-train the model so it does better next time.

Examples of Machine Learning

  • An email app that learns which messages are spam after seeing many examples.
  • A photo app that learns to tell dogs from cats by studying labeled photos.
  • A streaming service that learns your taste in films by tracking what you watch and rate.
  • A speech recogniser that improves by hearing thousands of different voices.
  • A self-driving car that learns safe driving by analyzing millions of kilometers of road data.

What is NOT Machine Learning

  • A calculator that always uses the same math rules — it does not learn from examples.
  • A website that shows the same homepage to every visitor regardless of their behavior.
  • A traffic light that changes on a fixed timer — no data, no learning.
  • A spell-checker that only uses a fixed dictionary — no pattern learning from usage.
5 Steps of Machine LearningFive numbered steps showing how a machine learning model is trained and improved.5 Steps of Machine Learning1Collect training data2Feed data to the model3Find patterns4Test the model5Improve and re-train
Machine Learning vs Fixed ProgramsTwo columns comparing machine learning examples with non-learning programs.Learns vs Fixed RulesMachine LearningSpam filterPhoto sorterFilm recommenderSpeech recogniserFixed RulesCalculatorTraffic light timerFixed homepageDictionary spell-check
💡

Think of machine learning like teaching a child to sort fruit: show them lots of examples, correct their mistakes, and they get better over time. That is exactly how machine learning models are trained.

Vocabulary
Machine learning
A kind of AI that gets better by learning from many examplese.g. Machine learning helps phones recognize faces.
Training data
The set of examples used to teach a machine what to doe.g. Training data is like a teacher's pile of practice cards.
Model
The trained "brain" of an AI that makes new predictionse.g. The model decides which photos show cats.
Prediction
The answer or guess the model gives after seeing new datae.g. The model's prediction was "dog".
Feedback
Telling the model when it was right or wrong so it can improvee.g. Feedback helps the model get smarter.
Free · 7 days · No credit card

Unlock the full HSEA system for 7 days.

Add your first kid profile and your 7 days start: every lesson in every grade, saved progress for each child. Nothing to set up, no card required, nothing to cancel.

  • ✓ All 1,680 lessons, Grades 1–6, every subject
  • ✓ Profiles + saved progress for every kid
  • ✓ Printable lessons with answer key
Start your 7-day free trial →
← Lesson 33: What is artificial intelligence?Lesson 35: AI tools that help people: translation, accessibility, search →