Machine Learning
How machines learn from data: regression, trees, clustering, evaluation and the classic algorithms.
AiTeky Originals
Our own lessons in plain English. Run the code right here and check your answers as you go.
All 12 Machine Learning originals →
Interactive Learning & PracticeBeginner
10 lessons · ▶ code runs in your browser
Machine learning: teach a computer from examples
Predict rents, exam results, car prices and loan risk with scikit-learn, and learn to check honestly whether a model is any good.
Interactive Learning & PracticeIntermediate
6 lessons · ▶ code runs in your browser
Ensembles and gradient boosting: many small models beat one big one
Why one decision tree overfits, how bagging and random forests average the noise away, how gradient boosting learns from its own mistakes, and how to tune without fooling yourself, on electricity demand and loan defaults.
Interactive Learning & PracticeIntermediate
6 lessons · ▶ code runs in your browser
Unsupervised learning: groups, hidden axes and odd ones out
Find customer groups with k-means, hierarchical clustering, DBSCAN and Gaussian mixtures, squeeze many columns into a few with PCA, and spot faulty machines with anomaly detection, on shop customers and water pumps.
Interactive Learning & PracticeIntermediate
6 lessons · ▶ code runs in your browser
Explaining models and handling imbalanced data
Find out which columns a model really uses, see how each one changes the answer, explain a single decision, and catch rare cases like insurance fraud without fooling yourself, on loan applications and vehicle insurance claims.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
Bayesian machine learning: uncertainty you can use
Describe what you believe with curves, update it with data, sample from it, put honest ranges on predictions, and make decisions with Thompson sampling and expected loss, on a website test and Pune flat rents.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
Operations research: making the best decision with limits
Turn a business problem with limited flour, trucks or staff into an optimisation problem and solve it, with linear programming, transport plans, whole-number shift schedules and delivery routes, on a bakery, a warehouse network, a call centre and a delivery van.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
Reinforcement learning: learning by trying
Teach an agent to act by trial and reward, from a robot in a warehouse grid and Q-tables to exploration, policy gradients, a restocking policy and the careful offline testing you need before any learned policy touches real customers.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
Graph machine learning: data that is about connections
Learn to treat connections as data, from degrees and centrality to link prediction, communities and message passing, and use them to spot fraud rings and recommend products.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
Fraud and anomaly detection at work: alerts, behaviour, drift and rings
Catch fraud with rules and scores under an alert budget, build behaviour features, evaluate honestly by time with delayed labels, spot outages in seasonal traffic, set the threshold by cost, and watch the method drift and link accounts into rings.
Interactive Learning & PracticeAdvanced
6 lessons · ▶ code runs in your browser
AutoML and model search: budgets, search strategies, the winner's curse and the bake-off
Write the core of an AutoML tool yourself and learn to judge one: a search space and a budget, grid against random search, successive halving, why the best score of a search is too good, preprocessing and ensembles, and a bake-off that catches a leaked column.
Interactive Learning & PracticeIntermediate
3 lessons · ▶ code runs in your browser
Four graded builds: books, moves, bills and texts
Build the four kinds of project that free machine learning certificates grade by test: a nearest-neighbour book recommender, a game bot that learns its opponent's habits, a cost predictor that must beat an error target, and a text message spam filter.
Interactive Learning & PracticeIntermediate
2 lessons · ▶ code runs in your browser
Columns worth adding: scores, clusters, components and smoothed encodings
Rank columns by how much they tell you about the target with mutual information, make new ones from ratios, counts and group averages, add cluster labels and principal components, and encode a many-valued category with a smoothed target average without leaking the answer.
Advanced
Once the core skills are comfortable.
More in AI & Data Science
Python & Foundations 23
Math & Statistics 41
Data Analysis 9
R Programming 42
Excel & Spreadsheets 6
Data Science 7
Time Series & Forecasting 8
Recommender Systems 7
Deep Learning 200
NLP 35
Computer Vision 8
Voice AI & Speech 7
Generative AI & LLMs 526
AI Agents 9
MLOps & Cloud 5
Data Engineering 11
Responsible AI 8
AI Security & Safety 8

