Lesson 1: What is Machine Learning? (1 hour)
Learning Objectives
- Define machine learning
- Understand the difference between traditional programming and machine learning
- Recognize that machine learning is learning from data
- Identify examples of machine learning in action
Materials Needed
- Whiteboard or digital presentation
- Examples of traditional programming vs. ML
- Internet connection
- Student notebooks
- Simple demonstration (calculator vs. recommendation system)
Time Breakdown
- Review Unit 1 (5 min)
- Introduction to machine learning (15 min)
- Traditional programming vs. ML comparison (20 min)
- Real-world examples activity (15 min)
- Wrap-up and homework (5 min)
Activities
1. Review from Unit 1 (5 min)
- Quick recap: What is AI? What types of AI exist?
- Bridge: "Today we'll learn HOW AI actually works"
2. Introduction to Machine Learning (15 min)
- Definition: Machine learning is a way for computers to learn from data without being explicitly programmed for every situation
- Key Concept: Instead of writing rules, we show examples and let the computer find patterns
- Analogy:
- Traditional programming: You teach a dog specific tricks step-by-step
- Machine learning: You show a dog many examples and it figures out the pattern
- Show simple visual: Rules-based vs. Learning-based systems
3. Traditional Programming vs. Machine Learning (20 min)
Traditional Programming Approach:
- Programmer writes explicit rules
- Input → Rules → Output
- Example: Calculator
- Rule: 2 + 2 = 4 (always)
- No learning, just following instructions
Machine Learning Approach:
- Programmer provides data and algorithm
- Data → Algorithm learns patterns → Model → Predictions
- Example: Email spam filter
- Show many spam emails and many good emails
- Algorithm learns what makes something spam
- Can identify new spam it's never seen
Hands-On Comparison:
-
Activity 1: Traditional programming
- Show students a simple calculator
- Explain: "This follows exact rules. If I press 2+2, it always gives 4"
-
Activity 2: Machine learning
- Show recommendation system (Netflix, YouTube)
- Explain: "This learned what you like by watching what you watch"
- Have students notice: Recommendations change over time (it's learning!)
4. Real-World Examples Activity (15 min)
-
Present 10 scenarios, students identify if it's ML or traditional programming:
- Weather app showing temperature (Traditional - reads sensor data)
- Weather app predicting if it will rain (ML - learned from patterns)
- GPS calculating shortest route (Traditional - math algorithm)
- GPS predicting traffic (ML - learned from historical data)
- Calculator (Traditional)
- Face recognition on phone (ML)
- Chess game following rules (Traditional)
- Chess computer learning strategies (ML)
- Autocorrect fixing spelling (Traditional - dictionary)
- Autocorrect predicting next word (ML - learned patterns)
-
Discuss each answer and reasoning
5. Wrap-Up and Homework (5 min)
- Key takeaway: ML learns from data, traditional programming follows rules
- Homework: Find 3 examples of ML in your life that you didn't realize were ML
- Preview: Next lesson we'll learn about the three types of ML
Differentiation Strategies
- Younger students: Use more visual examples, simpler analogies, focus on concrete examples
- Older students: Introduce concepts of algorithms, explore more technical aspects
- Struggling learners: Provide more examples, use checklist format for comparison
- Advanced learners: Research specific ML algorithms, explore how recommendation systems work
Assessment
- Participation in discussion
- Accuracy in identifying ML vs. traditional programming
- Quality of homework examples
- Understanding demonstrated in wrap-up