AlphaCoder
AI Foundations: How Machines Learn
Train a small model in Python and learn how to tell when it is wrong

- JC 1, Secondary 3, Secondary 4Level
- EnglishLanguage
About this course
Find out what a machine learning model is, how it learns from data and where it goes wrong, by training a small one in Python and testing whether it learned the right thing. Recommended for ages 14 to 17.
This course is being written. Pre-register to save your place.
Outline
1. What a model is
- Rules written by people, and rules learned from examples.
2. Data
- Features, labels, and keeping a test set apart.
3. Training and testing
- A small classifier in Python, and how often it is right.
4. When it goes wrong
- Bias, overfitting and confidence that is not earned.
What you’ll learn
- Explain what it means for a model to learn from examples
- Prepare data: features, labels, and a training and a test set
- Train a small classifier in Python and measure how often it is right
- Spot where a model is unfair or overconfident, and say why
Who it’s for
Students aged 14 to 17 who can write a short Python program (Programming Fundamentals with Python, or the same at school).
What you need first
- Programming Fundamentals with Python, or writing short Python programs at school