At the heart of supervised learning is a simple idea: show an algorithm many examples labelled with the right answer, and let it adjust internal numbers — its weights — until its predictions match those labels as closely as possible. This lab makes that process visible. Colored points floating above and below a base plane are a synthetic two-class dataset; the rippling surface between them is a polynomial logistic regression model's decision boundary, the line (or curve) it has learned to separate the two classes.
This same gradient-descent recipe — measure the error, compute how each weight contributed to it, and nudge weights the other way — scales from this small polynomial model all the way up to large neural networks with billions of parameters. The math barely changes; only the size of the model and the amount of data do.
A polynomial logistic regression classifier learns, live, in front of you: a rippling 3D surface trains by gradient descent to separate two clusters of labelled points, showing exactly how supervised learning fits a decision boundary to data.
The surface's height at any point is the model's prediction there; training nudges weights via gradient descent on the cross-entropy loss until the surface separates the orange points from the indigo ones.
Pick a dataset shape, set model complexity and noise, then press Train and watch loss fall and accuracy climb as the boundary warps to fit the data.
Low polynomial degree underfits curved data (a flat boundary can't separate moons or circles), while very high degree can overfit noisy labels — the same trade-off every real ML model faces.