A new interactive publication

Machine learning,
made tangible.

Visual essays and small experiments for understanding what models are really doing — one difficult idea at a time.

Recently planted. New articles are published deliberately.

The library

All articles

3 articles

Decision treesLatest

How to invent the decision tree algorithm from scratch

Build a classification tree by hand from ten seeds, then automate your own judgment with midpoint thresholds and the Gini score.

40–55 min · 6 interactives
Regression treesDraft

How decision trees learn to predict numbers

Keep the same propose–judge–repeat procedure, replace class impurity with squared error, and let each leaf predict its mean.

20–25 min · 3 interactives
Reward hackingDraft

The agent that won the race without finishing it

An agent maximizes the reward we wrote, not the outcome we wanted. Three MDPs show the three ways that gap gets exploited — repetition, manipulation, and omission.

25–30 min · 4 interactives