Logistic regression, predicting a category instead of a number
Reusing the linear regression machinery, adding the sigmoid function, and deriving the log loss that trains a classifier.
10 min readUpdated 2026-09-03machine-learningsupervised-learningclassificationlogistic-regression