Northeastern University · CS 7150

Deep Learning class demos

Interactive visualizations and Jupyter notebooks used in lecture. Everything here lives in github.com/CS7150/classdemos — notebooks open straight into Colab, and the interactive pages run in the browser with nothing to install.

Interactive demos

Runs in your browser

Rosenblatt's perceptron

The update rule, the margin, and the mistake bound, shown side by side in data space and weight space. Step through a run, scrub forwards and back, or watch the worst case walk the corners of the region the proof still permits.

Open the demo →

Guides

Annotated transcript

Using an AI agent to learn the perceptron algorithm

An AI agent can give you the convergence proof in a single prompt. Getting it to explain the proof so you actually understand it took a few hours, and this is what that looked like: twenty rounds of saying “I don’t understand”, with the figure at each stage and the reasoning behind each next question in the margin.

Read the transcript →

Notebooks

Single neurons and what they can separate

The perceptron, its learning rule, and the limits of one linear threshold unit.

XOR and the first hidden layer

What one layer cannot do, and what happens once you train two or more.

Training dynamics

Watching decision boundaries and loss surfaces move while a small network learns.

Backpropagation and loss functions

Derivatives by hand, and what different losses actually reward.

Convolution and vision

Convolution as a matrix, and the fully-connected versus convolutional comparison.

Large pretrained models

Poking at CLIP and Stable Diffusion, and building the sample data they run on.