Skip to content

Classical Machine Learning

Track 10 · Beginner

A fraud detector gets 99 percent right. How could it miss every case of fraud? This track covers the machine learning methods that came before deep learning: fitting lines, decision trees and forests of trees that vote, finding groups in data that has no answers attached, and testing a model on data it has never seen so you can tell whether it is honestly any good.

15 lessons 2.2 hours narrated Free, no account needed

Watch on YouTube

Start lesson 1

The 4 phases, lesson by lesson

Phase 1 Learning from data

  1. What machine learning actually is Machine learning flips programming: you give examples and let the machine find the pattern. Covers supervised vs unsupervised learning and when not to use it.
  2. Fitting a line: linear regression Linear regression: what a best-fit line means, why it minimizes the sum of squared residuals, and how to read a slope and intercept as a relationship.
  3. How models actually learn: gradient descent Gradient descent is how nearly every model learns. Build the foggy-hillside intuition, meet the gradient and learning rate, then trace it downhill by hand.

Phase 2 Classification and ensembles

  1. From a line to a probability: logistic regression Logistic regression turns a weighted sum into a yes or no probability with the sigmoid. Why a line fails, where the decision boundary sits, and how it is fit.
  2. Asking the right questions: decision trees A decision tree asks a sequence of yes/no questions, like a flowchart, to reach a prediction. See how it is built, why it overfits, and why it is unstable.
  3. Wisdom of crowds: random forests A single decision tree overfits and is unstable. Random forests fix it: grow hundreds of trees on different data slices and let them vote to cut variance.
  4. Turning weak learners strong: boosting Boosting builds shallow trees in sequence, each fixing the errors of the last. See how AdaBoost and gradient boosting work and why they win on tabular data.
  5. The widest margin: support vector machines A support vector machine picks the widest-margin boundary between two classes, set by a few support vectors; the kernel trick adds curved boundaries.

Phase 3 Unsupervised learning

  1. Grouping without labels: k-means clustering Clustering finds natural groups in unlabeled data. Walk the k-means assign-and-update loop by hand, choose k, and see when it invents groups that are not real.
  2. Building a hierarchy: hierarchical clustering Hierarchical clustering builds a tree of nested groups instead of a fixed cluster count. Learn the bottom-up merging and how to read and cut a dendrogram.
  3. Squeezing dimensions: PCA PCA compresses many features into a few by finding the directions your data varies along most. Build the maximum-variance intuition and read a scree plot.
  4. Seeing high-dimensional data: t-SNE t-SNE turns high-dimensional data into a 2D picture where similar points cluster. See what it reveals, what it distorts, and how to read its plots safely.

Phase 4 Model evaluation

  1. Overfitting and the bias-variance tradeoff Two ways a model fails to generalize: bias (underfitting) and variance (overfitting). How they trade off, and how training vs test error tells them apart.
  2. Train, test, and cross-validation How to get an honest test error: the train/test split, a validation set for tuning, k-fold cross-validation, and the data-leakage traps that inflate scores.
  3. Reading the results: precision, recall, ROC Accuracy lies on imbalanced data. Learn the confusion matrix, precision, recall, ROC, and AUC to read any classifier honestly and pick the right metric.

Start lesson 1

← Browse all tracks