For Educators · Logistic Regression
Logistic Regression for a rate limiter
Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a rate limiter live below — adjust the inputs and watch it respond, right in your browser.
Logistic RegressionLive
probability from a straight line
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.
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.
Also for:StudentsResearchersEngineersHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with Logistic Regression
Logistic Regression for a neural networkLogistic Regression for a sorting algorithmLogistic Regression for a search treeLogistic Regression for a hash tableLogistic Regression for a recommendation engineLogistic Regression for an image classifierLogistic Regression for a chatbotLogistic Regression for a pathfinding AI
Frequently asked questions
- Is this good for educators?
- Yes — this version of "Logistic Regression for a rate limiter" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.