
The case for breadth, where the list came from, what it deliberately leaves out — and three different ways to get through it
Five questions that index all 43 algorithms, and the five questions that take you from the list to a shortlist of two
A working environment in fifteen minutes — Python, a virtual environment, the seven packages, and where the course datasets live
What each paradigm demands from your data, the problems each one solves — and how to tell which one you actually have
Features, targets, the three-way split, when cross-validation is wrong — and the five leakage patterns that make offline numbers meaningless
The two ways a model is wrong, how to tell them apart from two numbers, and regularization stated once for every lecture that follows
The confusion matrix, precision against recall, why PR-AUC is the honest number under imbalance, calibration as a separate property — and the threshold that is not yours to choose
Interpretable by construction versus explained after the fact, the three tiers used across this course, what SHAP and LIME really compute, reason codes under Regulation B, and the governance vocabulary you will be assessed against
Framing, data, features, model, evaluation, deployment, monitoring — train/serve skew, drift and PSI, retraining triggers, and the organisational reasons good models never ship
Walking downhill in the fog — the procedure that fits almost every model in this course
Minimising log-loss by hand in numpy on 50,210 real credit accounts — no scikit-learn
Why noisy steps get there faster — and why every model you will ever train uses mini-batches
Four batch sizes, five epochs each, one credit book — measured on loss and on wall clock
An optimizer that adapts as it goes — the default button everyone presses, and when to stop pressing it
Three optimisers, one small fraud network, one hundred thousand card transactions
The straight line that started it all — and the honest baseline every other model still has to beat
8,000 vehicle leases, an out-of-time test, and coefficients a lessor can price residual risk from directly
You are the company you keep — the algorithm with no training phase, and the one running inside every vector database
Classifying 20,000 merchants from six spend-pattern features — and the one preprocessing step worth more than all the tuning
Predicting yes or no with a probability — and the algorithm that still decides whether you get the loan
Fitting a PD model on 50,210 real credit accounts, and choosing the cut-off
Twenty questions, learned from data — and the only model your credit committee can read without you in the room
The same 60,000-application credit file, fitted as a depth-3 tree and read back as four underwriting rules
Betting with prior beliefs — an assumption everyone knows is false, and a classifier that works anyway
Routing 15,000 customer complaints to five product lines from raw text — and reading the model back, word by word
Finding the widest safe street between two classes — and the handful of points that decide where it runs
Triaging 9,000 insurance claims, and watching a kernel more than double F1 on the same seven columns
A crowd of imperfect trees — and why forcing them to disagree is the whole trick
500 trees on a real credit book: a Gini gap, an out-of-bag trap, and two importance rankings that disagree
Learning from your mistakes on purpose — and why doing that too eagerly is its undoing
Boosting stumps on 100,000 card transactions until the gain runs out — then breaking it with mislabelled data
Fixing the residual, one tree at a time — and the loss function that made boosting safe to use
Four hundred trees on the credit book, scored at every single round — and the exact tree where training longer starts to hurt
The one that kept winning — regularization written into the objective, and the engineering that made it usable
Two fits on the credit book — and what a hard monotonic guarantee actually costs in Gini
The two complaints about XGBoost — and the two different answers
Seven encodings of the same column, fitted and timed on one split
Grouping by closeness to a centre — the two-step loop, the objective underneath it, and the three assumptions it never tells you about
Thirty thousand retail banking customers with five genuinely known segments — and two standard ways of choosing k that disagree with each other and with the truth
A family tree for your data — nested groups instead of a flat partition, and a k you choose afterwards rather than in advance
Two thousand banking customers, Ward linkage, three cuts of the same tree — and the diagnostic that k-means could not give us
Merging from the bottom up — the merge order is the model, and the linkage criterion is what decides which pair is 'closest'
480 bank branches, four linkage criteria measured side by side, and a geographic constraint whose cost we are going to price honestly
Clusters as dense neighbourhoods — any shape at all, no k to choose, and points that are allowed to belong to nothing
Six withdrawal hotspots, two of them long thin strips, a third of the data genuine scatter — and a head-to-head against k-means on identical points
Density as a landscape, every point a walker climbing uphill — and the peaks it stops on are the clusters
A scanned cheque clustered in colour space, six bandwidths, and anywhere from eleven to twenty-eight colours — with k never supplied once
Give up hard assignment entirely — every point belongs to every cluster, with a probability, and that is usually closer to the truth
A hundred thousand payments, four deliberately overlapping populations, and the first time in this section that choosing k actually works
Anomalies are easy to isolate — an ensemble that needs no labels, no distances and no model of what normal looks like
Three hundred trees on 100,000 card transactions, fitted without a single label — then the labels revealed to score what it caught
Finding the directions that matter — rotate the data to line up with its own spread, keep the first few axes, and know exactly what you paid for them
Sixty bureau attributes generated from five latent factors — a textbook scree elbow, a variance rule that gets it badly wrong, and five components that beat all sixty columns
Unmixing the cocktail party — PCA finds uncorrelated directions, ICA finds statistically independent sources, and the gap between those two words is the whole lecture
Forty asset return series built from four independent drivers — both methods asked for four components, and only one of them gets the answer
The map you can read — and the distances you must not measure
Four experiments: structure, dials, noise, and whether any of it predicts
Forecasting a series from nothing but its own history — and why this still beats a neural network more often than anyone admits
Ten years of card spend, twenty-four walk-forward forecasts — and two ARIMA models that lose to one line of arithmetic
The forecast everyone reaches for — and how to argue against it
One series, six configurations, and a baseline nobody is allowed to skip
When the thing you actually care about is invisible, and all you get to see is what it leaves behind
Two planted regimes, 3,800 trading days, no labels at all — and the one-line bug that would silently invert your dashboard
This course contains the use of artificial intelligence.
You can already fit a model. What you cannot always do is say why that model and not one of the others — and that is the question you get asked.
This course covers the 43 algorithms most commonly used in practice, one at a time, across 19 sections and about 19 hours. Each gets a full concept lecture and a separate hands-on demo with a seeded notebook you run yourself. Every number quoted in every lecture was produced by code that ships with the course. Where a result was surprising or unflattering, it is reported as measured rather than as expected.
Every algorithm is introduced through the same five questions: what question does it answer, what does it need from you, what does it hand back, what does it cost to train and to score, and can you justify a single decision to somebody entitled to overrule you. By the end those cards stack into a comparison you can actually choose from.
The 19 sections are organised by the question being answered rather than by mathematical family, so the table of contents is itself the first filter you apply.
The nineteen sections
Orientation: how to use this course · The shared vocabulary: what every algorithm assumes · How models learn: optimisation from the ground up · Predicting a number: fit a form, or copy your neighbours · Predicting a category: the four classical classifiers · Making it stronger: ensembles and gradient boosting · Finding groups: six ways to cluster, and how they disagree · Finding the unusual: anomaly detection without labels · Fewer columns, same signal: projection and embedding · What comes next: forecasting a time series · Seeing: convolutional networks for vision · Reading and writing language: recurrence, attention and transformers · Relationships and networks: learning on graphs · Creating data: adversarial and diffusion generation · Deciding under uncertainty: reinforcement learning · Knowing what you don't know: uncertainty and causality · End-to-end demo: building a credit risk scorecard · End-to-end demo: real-time card fraud detection · Capstone: choosing, defending and shipping
Two of the sections are complete builds rather than algorithm lectures. The first is a credit risk scorecard, taken from the business problem through target definition, reject inference, weight-of-evidence binning, a logistic champion and a monotonically constrained XGBoost challenger, validation on discrimination, calibration and stability, and finally reason codes and a cut-off priced in money rather than in Gini. The second is a real-time card fraud system: the cost matrix, velocity features and label lag, an unsupervised first pass for when you have no labels at all, alert queues sized to the team who actually work them, and what it takes to keep the thing alive under drift.
Results reported as measured, not as expected
Most courses demonstrate that an algorithm works. This one runs the comparison and reports the answer even when it is inconvenient. Six of the findings you will see derived, with the code that produced them:
LightGBM lost on accuracy. Its native categorical handling scored 0.3902 tuned, against CatBoost's 0.4493 on the same nine columns and XGBoost's 0.4282 on 1,146 one-hot columns. LightGBM's real advantage is speed — 3.2× on the wide matrix — which is worth saying plainly rather than repeating the marketing.
UMAP predicted worse than PCA. Downstream Gini 0.3997 against 0.4345 at two components, despite clearly better neighbourhood preservation. Run on 3,000 rows of pure Gaussian noise, its embedding scores a silhouette of 0.3532 against 0.0123 on the raw noise: it manufactures convincing clusters from nothing.
Prophet lost to SARIMA by 29% on an identical 24-month walk-forward — 19,610 against 14,008 — and lost the gappy-data test it should have owned. Flagging a known shock as an event was worth 15.5% for four lines of code, which is its real strength.
Diffusion beat the GAN on every measure for tabular synthesis: correlation error 0.0201 against 0.1989, train-on-synthetic gap 0.0076 against 0.0385. The bill arrives in privacy — its rows sit 0.2884 from the nearest real customer where real-to-real is 0.2533, almost as close to real people as real people sit to each other. "Synthetic therefore safe" is not an argument.
Conformal prediction delivered every coverage level requested, including from a model with an AUC of 0.4945 — a coin flip — and still gave 0.0000 coverage for actual defaulters at a nominal 90%. The marginal guarantee was satisfied entirely by the majority class. The class-conditional fix works, and costs a 59.43% referral rate; the lecture prices it rather than hiding it.
Uplift modelling moved 3.3× more churn at the same budget than targeting by churn risk. The risk model's ranking correlated −0.113 with true uplift — near-orthogonal to the decision it was feeding, and flat across every budget depth.
The course is also honest about its edges. A lecture near the end names what is not here — recommender systems, survival analysis, Bayesian and probabilistic programming, speech generation, and production MLOps — and says what to read instead. Another names what has changed since these methods were established, including where a newer method has displaced one taught earlier in the course.
What ships with it
Forty-three notebooks, each seeded and runnable top to bottom without modification, plus the generator for every dataset they use. The data is synthetic by necessity — the domains are lending, cards and collections — but each set is tuned until it genuinely teaches the lesson, and the generator ships with it so you can see exactly what was planted and change it. Nothing depends on a paid API, a GPU, or a dataset that might disappear.
There are three sensible routes through it. Straight through in order, which is about 19 hours. The 43 hands-on demos only, roughly five hours, which makes a good refresher. Or as a reference: nothing assumes you watched the previous lecture, and every notebook stands alone.
What you'll master
• The full working toolkit. Linear and logistic regression, decision trees, KNN, naive Bayes, SVMs, random forests, AdaBoost, gradient boosting, XGBoost, LightGBM and CatBoost — in code, on real data.
• Unsupervised methods that behave differently. Six clustering algorithms, isolation forests for anomaly detection, and PCA, ICA and UMAP for structure.
• Deep learning as a practitioner meets it. CNNs, ResNet, EfficientNet, MobileNet, RNNs, LSTMs, transformers, BERT, graph neural networks, GANs and diffusion models.
• Forecasting and decisions. ARIMA, Prophet, hidden Markov models, and reinforcement learning from a readable Q-table through to PPO.
• The two things most courses skip. Conformal prediction for honest uncertainty, and causal inference with uplift modelling for when your model's output triggers an action.
• Two portfolio projects. A governed credit risk scorecard and a real-time card fraud system, both built the way a regulated business builds them.
Who this course is for
• Analysts and developers who can code but keep reaching for the same three algorithms.
• Data scientists preparing for interviews, where the question is 'why this model', not 'can you fit one'.
• Anyone in a regulated industry who needs models that survive a review, not just a validation set.
• People who finished an introductory course that covered five algorithms and called it machine learning.
Requirements: you can read Python — you do not need to be fluent — plus school-level algebra and a laptop that runs Python 3.10. No calculus, no linear algebra background, no GPU, and no prior machine learning.
By the end you will be able to look at a problem, name the two or three algorithms worth trying, compare them honestly, and defend the one you pick. Enrol now and start with the algorithm you were going to use anyway — then find out what you should have used instead.