Day 2 — Machine Learning: The Brain Behind AI
1. The Big Idea
AI is the broad field. Machine Learning (ML) is one part of AI — the part that teaches computers to
learn from data instead of being told every rule.
Traditional programming: "If X, then Y."
Machine Learning: "Here are examples → figure out patterns yourself."
2. A Simple Example
To make a computer tell if a photo is of a cat or a dog:
- Give 1,000 cat photos and 1,000 dog photos, each labeled.
- The computer learns patterns — ears, fur, eyes, shape — and starts predicting on new photos.
This is called supervised learning.
3. Types of Machine Learning
Supervised Learning: Learns from labeled data (e.g., spam detection).
Unsupervised Learning: Finds patterns in unlabeled data (e.g., customer grouping).
Reinforcement Learning: Learns through rewards (e.g., game bots, self-driving cars).
4. How Machines “Learn”
1. Input data → 2. Model analyzes → 3. Output → 4. Feedback loop adjusts
Repeating this improves accuracy — like humans learning from mistakes.
5. Mini Activity
Visit [Link]
Train a small model using images or sounds — see how it learns patterns.
6. Real-World Examples
- Netflix recommending shows (supervised)
- Spotify finding similar music (unsupervised)
- Google Maps predicting travel time (supervised)
- Game bots learning to play (reinforcement)
7. Takeaway
Machine Learning = teaching computers to recognize and learn patterns from data. It powers most
modern AI systems.
Optional Reflection
1. What’s the difference between AI and ML?
2. Which learning type (supervised, unsupervised, reinforcement) interests you most and why?
Next Lesson: Neural Networks — How They Mimic the Human Brain.