Logistic regression applies a sigmoid function to a linear combination of features, squashing the output to a probability between 0 and 1. The decision boundary is where the model is exactly 50% confident. This visualization lets you place points, run gradient descent on the log-loss, and see how L2 regularization pulls the boundary away from individual outliers.
See the sigmoid function map any real-valued score to a probability between 0 and 1
Add your own data points and watch the decision boundary shift to separate the classes
Increase L2 regularization and see the boundary become more conservative and less overfit
Understand log-loss (cross-entropy) as the proper cost function for probabilistic classifiers
Learn why logistic regression is still a go-to baseline before trying more complex models
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.