Machine learning guides
Written explainers with tables, diagnosis steps and tested code.
- New
Bias vs Variance: The Bias-Variance Tradeoff Explained with Code
Bias vs variance explained: what each error means, how to spot high bias or high variance from train and test scores, how to fix each, plus tested Python.
Comparison table · diagnosis table · tested NumPy demo · FAQ
Video and interactive
Watch, play and check your understanding.
The Goldilocks Problem: bias-variance video tutorial
Video tutorial: how AI balances the bias-variance trade-off, with a scene-by-scene walkthrough and games.
Video · walkthrough · games. Companion to the bias vs variance guide
AI & ML Quest | Pre-learning for Day 1
An interactive warm-up on AI and ML fundamentals: the AI family, data, training, inference, deep learning, generative AI and AWS services.
Interactive warm-up
ML Solutions Quest | Pre-learning for Day 3
An interactive warm-up on building ML solutions: the ML lifecycle, SageMaker AI, model sources, fitting, evaluation metrics, deployment and MLOps.
Interactive warm-up · SageMaker AI
Build it: hands-on tutorials
Step-by-step tutorials with Python labs, quizzes and cheat sheets.
Linear Regression for Beginners: y=mx+b, R², Python Lab
Learn linear regression for beginners: fit y=mx+b with least squares, read R² and RMSE, work two verified examples, then run a free local Python lab.
Python lab · Quiz · Cheat sheet
Multiple Linear Regression in Python: OLS, VIF, Ridge, Lasso
Multiple linear regression in Python at expert depth: OLS normal equations, a worked example, VIF and Cook's diagnostics, Ridge vs Lasso, and three labs.
Three labs · Quiz · Cheat sheet
Mathematics for Machine Learning: Essentials You’ll Use
Learn mathematics for machine learning: vectors, matrices, gradients and gradient descent, with NumPy labs. Bridge from Python coding into ML maths.
NumPy labs · Cheat sheet
Foundations and learning path
The background that makes the machine learning tutorials easier to follow.
AI & Machine Learning Foundations: Student Study Guide
Free interactive tutorial by Pushpjeet Cholkar: AI, machine learning, deep learning, generative AI, RAG and AWS AI services, with quiz, flashcards and glossary.
Quiz · flashcards · glossary
What to Learn in AI/ML: A Practical Roadmap, Stage by Stage
What to learn in AI/ML, in order: Python, SQL and useful maths, then classic ML, deep learning, RAG and agents, and cloud MLOps, with a project per stage.
Roadmap with a project per stage
Linear Regression for Business: A Practical Guide
What linear regression is, why it matters for business, real-world uses, how it works step by step, key metrics, limitations and best practices.
Business guide
Coming next in this series
Planned guides, added here as they are published:
- Overfitting vs underfitting (learning curves and fixes)
- Confusion matrix
- Precision vs recall
- Classification metrics
- Regression explained practically
- Feature engineering
- ML project deployment
- ML model serving
Live training
When you would rather learn live with hands-on labs.
Live AWS and AI/ML training
Live online or onsite training in AWS, AI/ML, Linux, Oracle SQL and Terraform. New batches start every Monday.
Live batches · see the page for courses and dates
Training for USA
Live online AWS, AI/ML, Linux, Oracle SQL and Terraform training for anyone in the USA, scheduled in your US time zone.
Live online · US time zones