💻 TechnologyGrade 4Lesson 2
← Back🔒 PDF with full access

Understand How AI Learns from Patterns

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).

What you will learn

  • 1Describe how AI learns from training data
  • 2Explain the difference between supervised and unsupervised learning
  • 3Define key machine learning terms: algorithm, training data, and model
📘

Mini Lesson

How does an AI learn? Unlike a person who is taught by a parent or a book, an AI learns by studying enormous amounts of data and finding patterns in it. This process is called machine learning. The more good data an AI studies, the better it usually becomes at making correct predictions or decisions.

The AI Learning Process

  1. Collect training data — large sets of examples (images, text, numbers, etc.).
  2. Feed the data into an algorithm — a set of rules the AI follows to find patterns.
  3. The AI builds a model — a stored understanding of those patterns.
  4. New data is given to the model — it uses learned patterns to make predictions.
  5. Results are checked and the model is improved — this cycle repeats many times.

Supervised Learning

  • The AI is trained on labeled examples — each piece of data comes with the correct answer.
  • Example: showing an AI thousands of photos labeled "cat" or "dog" so it learns to tell them apart.
  • The AI adjusts its model until it gets most answers right.
  • Used in: email spam filters, image classifiers, voice recognition.

Unsupervised Learning

  • The AI is given data without labels and must find its own patterns or groupings.
  • Example: an AI groups customers by shopping habits without being told the categories.
  • Useful for discovering hidden patterns humans might not notice.
  • Used in: grouping customers, spotting unusual activity, recommendation systems.

Words to know

machine learning

A type of AI where computers learn from data without being explicitly programmed for every task.

training data

The collection of examples used to teach an AI model.

algorithm

A set of rules the AI follows to find patterns and make decisions.

model

The AI's stored understanding of patterns, built from training data.

supervised learning

AI training where each example is labeled with the correct answer.

unsupervised learning

AI training where the system finds patterns in data without being given labels.

How AI LearnsHow AI LearnsTrainingDataAlgorithm+ LearningAI Model(patterns stored)New Data InPrediction OutMore data =better modelThe cycle repeats to improve accuracy over time
Supervised vs Unsupervised LearningSupervised vs UnsupervisedSupervisedUnsupervisedUses labeled dataTold correct answerse.g. spam filtere.g. image classifierNo labels neededFinds own patternse.g. customer groupse.g. spotting odd activityBoth types learn from data and improve over time
💡

Tip: Think of supervised learning as learning with a coach (labeled answers) and unsupervised learning as exploring on your own (no labels).

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,880 lessons, Grades 1–6, every subject
  • ✓ Profiles + saved progress for every kid
  • ✓ Printable lessons with answer key
Start your 7-day free trial →
← Lesson 1: Explore Advanced Uses of AILesson 3: AI in Medicine, Business, and Education →