Interactive Notebook

Machine learning, made visible

Small, hands-on demos for building intuition about the linear algebra behind machine learning. Each one lets you poke at the inputs and watch the math respond.

Classification

Perceptron, step by step

Watch θ and its decision boundary update one point at a time — see how much the line jumps around before it settles into a clean separator.

Geometry

Margins & distance

See how ‖θ‖ sets the width of the margin, project a point onto the boundary, and watch the distance d = |θ·x₀+θ₀|/‖θ‖ — with the full derivation underneath.

Coming soon

More demos

New visualizations drop in here as the set grows.