Machine Learning Foundation
Learn how machines learn, from your first idea to a small model you build yourself, with Dr. Yogendra Pal (PhD, IIT Bombay). Made for beginners: no coding background needed, and every idea is explained in plain words. You do not only watch. The course has 41 short videos (about 2 hours 40 minutes in all), and after the videos you practise: 35 interactive activities where you turn the knobs and see what happens, 23 coding exercises where you trace, predict, order and write code, 3 AI activities and 1 role-play where you teach an AI student, and 26 quizzes. Four modules take you from what machine learning is, through loss, gradient descent and overfitting, supervised learning, neural networks, CNNs, RNNs and transformers, to doing it for real: data cleaning, data leakage, bias, deploying a model and model drift. You finish with a capstone project and a final exam, and earn your certificate. One payment gives you lifetime access with future updates.

What you'll learn
- Explain what machine learning is, and the three ways machines learn
- Read a dataset in terms of features and labels
- Understand loss, gradient descent and overfitting, and work them out by hand
- Build and judge simple models: linear and logistic regression, decision trees and KNN
- Evaluate a model properly with train, validation and test sets, and spot bias and variance
- Understand how neural networks work: neurons, backpropagation, CNNs, RNNs and transformers
- Clean data, avoid data leakage, and build a small end-to-end model of your own
About this course
Learn how machines learn, from your first idea to a small model you build yourself, with Dr. Yogendra Pal (PhD, IIT Bombay). Made for beginners: no coding background needed, and every idea is explained in plain words. You do not only watch. The course has 41 short videos (about 2 hours 40 minutes in all), and after the videos you practise: 35 interactive activities where you turn the knobs and see what happens, 23 coding exercises where you trace, predict, order and write code, 3 AI activities and 1 role-play where you teach an AI student, and 26 quizzes. Four modules take you from what machine learning is, through loss, gradient descent and overfitting, supervised learning, neural networks, CNNs, RNNs and transformers, to doing it for real: data cleaning, data leakage, bias, deploying a model and model drift. You finish with a capstone project and a final exam, and earn your certificate. One payment gives you lifetime access with future updates.
Course curriculum
Lesson 1 - What is Machine Learning9 lessons
- Write the Rule
- Preview8:50
- Is it machine learning?
- Programming or Machine Learning
- Build the Diagram
- Spam Filter Showdown
- Did It Learn, or Did It Memorise?
- What Goes In, What Comes Out
- Quiz 1: check your knowledge
Lesson 2: Three Ways Machine Learn8 lessons
- Give Each One the Right Answer
- ML02 — Three Ways Machines Learn7:33
- ML02 — Which kind of learning?
- Does It Come With the Answers?
- Which Box Does It Go In?
- Find the Groups Nobody Told You About
- Train the Dog
- Quiz 2: Check your knowledge
Lesson 3: Features & labels7 lessons
- Read The Table
- ML03 — Features and Labels4:55
- Which Column Is the Answer?
- The Column That Changes Its Mind
- Numbers, Categories, Pixels
- Set Up the Problem
- Quiz 3 — Check your knowledge
Lesson 4: Guess-Check-Adjust8 lessons
- Throw It
- ML04 — Guess, Check, Adjust5:20
- Name the Step
- Turn the Knob
- Read the Curve
- What “Learned” Really Means
- ML04 — The guess-check-adjust loop
- Reading the Notation
Lesson 5: Loss8 lessons
- How Wrong Is This Guess?
- ML05 — Loss5:46
- Why Square It?
- Which Model Is Better?
- ML05 — Teach the confused student
- Read the Loss Curve
- Quiz 5: Check your knowledge
- ML05 — Compute the loss by hand
Lesson 6: Gradient Descent9 lessons
- Find the Bottom, Blindfolded
- ML06 — Gradient Descent6:02
- The Learning Rate, in a Little More Detail
- ML06 — One step of gradient descent
- Set the Learning Rate
- Which Way Is Downhill?
- ML06 - Explain it to a stuck learner
- Where Does It Stop?
- ML06 — Gradient descent intuition
Lesson 7: Overfitting7 lessons
- Which Student Would You Hire?
- ML07 — Overfitting6:35
- Ship It or Send It Back?
- Spot the Turn
- ML07 - Explain it to a proud engineer
- ML07 — Which model generalizes?
- ML07 — Spotting overfitting
Module 2 — Supervised Learning, in depth29 lessons
- ML08 — Linear Regression3:09
- ML08 — Predict with a fitted line
- ML08 — Fit your first model (linear regression)
- ML09 — Logistic Regression3:30
- ML09 — From probability to class
- ML10 — Decision Trees3:38
- ML10 — Walk a sample down a decision tree
- ML10 — Walk a sample down a decision tree
- ML11 — K-Nearest Neighbours3:26
- ML11 — KNN by hand: count the votes
- ML12 — Evaluation4:02
- ML12 — Reading the metrics
- ML12 — Metrics from a confusion matrix
- ML13 — Train, Validation, Test3:58
- ML13 — Order the train / validate / test workflow
- ML14 — Bias and Variance2:59
- ML14 — Bias vs variance
- ML15 — The Fit Spectrum2:53
- ML15 — Place it on the fit spectrum
- ML16 — Regularization2:58
- ML16 — Regularization
- ML17 — Feature Scaling3:05
- ML17 — Scale the features
- ML17 — When does scaling matter?
- ML18 — Feature Engineering3:15
- ML18 — Engineer a useful feature
- ML19 — Hyperparameter Tuning3:30
- ML19 — Order a grid search
- ML19 — Hyperparameter or learned parameter?
Module 3 - Neural Networks & Deep Learning18 lessons
- ML20 — The Neuron3:22
- ML20 — Compute a neuron's output
- ML21 — Layers and the Forward Pass3:21
- ML21 — Order the forward pass
- ML21 — Forward pass through two layers
- ML22 — Activation Functions3:14
- ML22 — Predict the activation output
- ML22 — Why activations?
- ML23 — Backpropagation3:26
- ML23 — Backpropagation
- ML24 — Why Deep Networks3:22
- ML24 — Why go deep?
- ML25 — Convolutional Networks (CNN)3:25
- ML25 — Slide a CNN filter over a row
- ML26 — Recurrent Networks (RNN)3:32
- ML26 — RNNs and sequences
- ML27 — Transformers4:00
- ML27 — Transformers & attention
Module 4 - Doing It for Real28 lessons
- Capstone — build a small end-to-end ML model
- ML28 — The ML Workflow2:57
- ML28 — Order the ML workflow
- ML29 — Data Cleaning3:16
- ML29 — Clean the data (handle missing values)
- ML30 — Imbalanced Data3:06
- ML30 — Imbalanced data
- ML31 — Data Leakage3:24
- ML31 — Spot the data leakage
- ML32 — Ethics and Bias3:18
- ML32 — Fairness & bias
- ML32 — Explain a model's bias risk to a manager
- ML33 — Deploying a Model3:02
- ML33 — From notebook to production
- ML34 — Model Drift3:22
- ML34 — Model drift
- ML35 — Your First Model (+ CodeLab ML35b)3:16
- ML35b - CodeLab First Model3:45
- ML35 — Your first end-to-end model
- ML36 — Reading Data3:10
- ML36 — Read and inspect a dataset
- ML37 — Classification Project3:32
- ML37 — Classification lab: train and score a classifier
- ML38 — Common Mistakes3:15
- ML38 — Find the bug: the classic leakage mistake
- ML39 — The ML Toolkit3:18
- ML39 — Match the tool to the job
- ML40 — Career Paths3:39
Final Exam and Certificate1 lesson
- Final Exam for Certificate
What you need
- A computer or phone with an internet connection
- No coding background needed. The few exercises that ask for Python come with starter code
- Nothing else to buy. The activities and exercises open inside the course
Who this is for
Beginners curious about machine learning: school and college students, working professionals, teachers and career changers who want to understand how machines learn before they go deeper into data science or AI.
Your teacher
Yogendra Pal
Dr.
Ph.D. in Educational Technology from IIT Bombay. Teaching programming and web development since 2009.
Dr. Yogendra Pal holds a Ph.D. in Educational Technology from IIT Bombay, with an M.Tech. and a B.Tech. in Computer Science and Engineering. His research is about teaching programming to learners who study in their native language, and has been published at ACM and IEEE conferences. He has led the development of the front end of the IITBombayX platform at IIT Bombay. Since 2009 he has taught programming and web development through video series with Learn By Watch, covering C, C++, Drupal, HTML and web development, and has run programming workshops in colleges across Agra, Mathura, Noida and Greater Noida. He teaches in Hindi and English.
