PPolySim OS
For Students · Logistic Regression

Logistic Regression for a cache

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a cache live below — adjust the inputs and watch it respond, right in your browser.

Logistic RegressionLive

Controls

Presets

Logistic regression squashes a linear score through the sigmoid to output a probability between 0 and 1. Predictions above the threshold become one class, below it the other. Raising the weight sharpens the S-curve into a harder decision. Educational tool.

▶ Run in Python

Data Inspector

Decision boundary at x0.50
P(class 1 | x=1)0.82
Threshold0.50

Governing equation

Reading this result: Logistic regression fits this sigmoid by gradient descent on cross-entropy. Weight w=3 sets steepness, bias b=-1.5 shifts the curve, placing the decision boundary at x=0.50 for threshold 0.5.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Logistic Regression

Frequently asked questions

Is this good for students?
Yes — this version of "Logistic Regression for a cache" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.