Linear regression predicts a continuous value; logistic regression predicts the probability of a class.
It passes a linear combination of features through the sigmoid function, giving an output between 0 and 1, then applies a threshold (0.5 by default) to pick a class.
It is trained by minimizing log loss (cross-entropy) with gradient descent, not squared error.
Coefficients are interpretable as changes in log-odds. Multi-class problems use softmax.
Loading…