Overview
Logistic Regression computes a weighted linear score and maps it through a sigmoid or softmax function to estimate class probabilities.
Models class probability by applying a logistic function to a linear score.
Compact metadata for implementation and discovery.
Logistic Regression computes a weighted linear score and maps it through a sigmoid or softmax function to estimate class probabilities.
Quick facts
Runtime and memory behavior at a glance.
Best
O(nd)
Average
O(ndt)
Worst
O(ndt)
Space
O(d)
p = 1 / (1 + exp(-z))Maps a linear score into a probability-like value between 0 and 1.
Show a boundary separating two groups of points.
Despite its name, logistic regression is usually used for classification.
What each reference supports for this entry.
Statistical learning reference for regression, classification, clustering, trees, and ensemble methods.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Core
Naive Bayes and logistic regression are simple probabilistic classifiers with different independence assumptions.
Compare with thisSoftmax classification extends logistic-style classification to multiple classes.
Both solve classification problems with different loss and margin assumptions.