Series

ml basics

8 parts, in reading order. Each one builds on the last.

  1. 01

    What is machine learning?

    SEP 1 2026 · 5 min

    Machine learning is teaching a computer by example instead of by instruction: you show it many past cases with the right answers, it works out the pattern on…

  2. 02

    Regression vs classification

    SEP 8 2026 · 7 min

    Most machine learning answers one of two questions: "how much?" (regression, the answer is a number) or "which one?" (classification, the answer is a category).

  3. 03

    Linear regression

    SEP 14 2026 · 10 min

    Linear regression draws the straight line that best fits your data, where "best" means the total of the squared misses is as small as possible; each number it…

  4. 04

    Decision trees

    SEP 22 2026 · 8 min

    A decision tree makes a prediction by asking a short series of yes/no questions about the input, like a flowchart an expert would draw; it learns which…

  5. 05

    Bias and variance

    SEP 30 2026 · 7 min

    A model's error on new data comes from three places: bias (it is too simple to capture the real pattern), variance (it changes too much depending on which data…

  6. 06

    Bagging

    OCT 6 2026 · 7 min

    Bagging trains many copies of the same model, each on a slightly different random resample of the data, and averages their answers; the copies make different…

  7. 07

    Random forests

    OCT 12 2026 · 8 min

    A random forest is bagging with one extra rule: at every split, each tree may only choose from a random handful of the features.

  8. 08

    Boosting

    OCT 14 2026 · 10 min

    Boosting builds a strong model from many weak ones trained in sequence, each focusing on what the previous ones got wrong.

← All posts