Logistic Regression: Sigmoid Decision Boundary
Interactive 3D logistic regression: a probability surface rises over a scatter of labeled points, its sigmoid tilt controlled by two weights and a bias, or trained step by step with real gradient descent on the cross-entropy loss.
Logistic regression is the workhorse of binary classification: a linear score run through a sigmoid to turn it into a probability. This simulator renders that idea as a real 3D surface — a scatter of labeled points sits on the floor, and a rippled probability sheet floats above it, its tilt set by two feature weights and a bias. Drag the weight sliders to reshape the sheet and watch the decision boundary line slide across the floor, or click Train step to run one real batch gradient-descent update against the binary cross-entropy loss and watch the model converge on its own — live accuracy, loss and step-count readouts track exactly what a real training loop optimizes.
Watch a 3D probability surface tilt over a scatter of labeled points as you adjust two weights and a bias, or click Train step to run real gradient descent on the binary cross-entropy loss and see the sigmoid decision boundary converge.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install