AIExtracurricular
Machine Learning Foundations: How Models Actually Learn
Mentra- Grades
- Grades 8–12
- Lessons
- 5
- Format
- Self-paced
- Access
- Start anytime
About this class
The real ideas behind machine learning, with the math worked by hand: features and labels, linear regression and loss functions, gradient descent step by step, training vs. test data, overfitting, and how to measure a classifier (accuracy, precision, recall, F1). Algebra is enough; no coding required. The step after “Introduction to AI.”
Sources: Google, “Machine Learning Crash Course” (developers.google.com/machine-learning/crash-course); Stanford University CS229 public lecture notes on supervised learning (cs229.stanford.edu); All examples and data in this course are original, written for Mentra..
What we'll cover
- Supervised learning
- Loss functions
- Gradient descent
- Generalization
- Evaluation metrics
Course lessons
- 1.Course overview
- 2.Features, labels, models and loss
- 3.Gradient descent, step by step
- 4.Overfitting, test sets and evaluation metrics
- 5.Challenge set
Learning objectives
- Describe a supervised learning problem in terms of features, labels and a model
- Compute predictions and mean squared error for a simple linear model
- Carry out gradient descent updates by hand and explain the learning rate
- Explain overfitting and underfitting and why we keep a separate test set
- Calculate accuracy, precision, recall and F1 from a confusion matrix, and pick the right metric
Materials
Paper or a notebook for the activities
Who made this course
Mentra
Created by the Mentra team