Logistic regression feature score calculator
Convert a fitted logistic model’s linear score into a positive-class probability.
How to use this calculator
Convert a fitted logistic model’s linear score into a positive-class probability.
- Enter Feature values, Matching fitted coefficients, Fitted intercept. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Logistic regression feature score calculator
Convert a fitted logistic model’s linear score into a positive-class probability.
Inputs and units
- Feature values: Comma-separated feature vector in the exact order used when fitting the coefficient list.
- Matching fitted coefficients: One fitted weight per feature, in identical order; the dot product plus intercept forms the logit.
- Fitted intercept: Constant term b₀ learned with the model; it shifts the log-odds before the sigmoid conversion.
Formula and method
z = b + Σwᵢxᵢ; p = 1/(1+e⁻ᶻ)
Worked example
For x=(1,2), w=(0.5,−0.25), and b=−1, z=−1 and p=1/(1+e)=0.26894.
Interpreting the result
This is the model’s probability estimate for the specified feature vector and coefficients; it is calibrated only if the fitted model is calibrated.
Assumptions and limits
Feature and coefficient lists must have equal nonzero length and finite numbers. Inputs must follow the training feature order and preprocessing; the calculator does not fit or validate a model.
Sources and method
- Describes logistic regression probability prediction from a fitted linear score; the calculator applies the binary sigmoid to supplied coefficients. scikit-learn: linear models and logistic regression
Frequently asked questions
What does this logistic regression feature score result tell me?
This is the model’s probability estimate for the specified feature vector and coefficients; it is calibrated only if the fitted model is calibrated.
What assumptions should I check?
Feature and coefficient lists must have equal nonzero length and finite numbers. Inputs must follow the training feature order and preprocessing; the calculator does not fit or validate a model.
How do I use the Logistic regression feature score calculator?
Enter Feature values, Matching fitted coefficients, Fitted intercept. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Logistic regression feature score?
For x=(1,2), w=(0.5,−0.25), and b=−1, z=−1 and p=1/(1+e)=0.26894.
What does the Logistic regression feature score calculator calculate?
Convert a fitted logistic model’s linear score into a positive-class probability.
See the calculation methodology.