Learn
Hands-on tools I’ve built for my courses. Everything runs in the browser, with nothing to install.
Tool · Diagram ⇄ PyTorch
Torch Canvas
A visual editor for neural networks that writes PyTorch as you draw, and turns PyTorch modules back into diagrams. It runs in the browser with nothing to install.
Open Torch Canvas All 22 example models →
Interactive demos
-
Single Neuron Explorer
A neuron with two inputs draws a line (hyperplane) through input space. Drag the weights and watch the decision boundary move.
-
3-Input Neuron Explorer (3D)
The same idea in three dimensions, where the boundary becomes a plane.
-
ROC Curves and Data Separability
Move the threshold and the class overlap to see how the ROC curve and model quality respond.
-
The Optimization Lens: Group Handouts
In-class exercise framing different learning algorithms as optimization problems.
-
Operator Norm as a Matrix Equation
A 2×2 matrix warps the unit circle; find the input direction it stretches most.
-
Operator Norm via Power Iteration (3D)
A 3×3 matrix turns a sphere into an ellipsoid while power iteration homes in on the maximum stretch.
Course pages, with slides, are under Teaching.