Can Linear Regression Solve Classification?
Before learning logistic regression, you should know exactly why linear regression fails at classification. Not "it's not designed for it" — that's circular. Th…
~/blog/tutorials/machine-learning
Before learning logistic regression, you should know exactly why linear regression fails at classification. Not "it's not designed for it" — that's circular. Th…
Logistic regression produces probabilities, not class labels. Understanding where those probabilities come from — and why binary cross-entropy is the right loss…
Accuracy is one number. Classification produces four outcomes. The entire story of model quality — who you're catching, who you're missing, and what false alarm…
Binary logistic regression outputs $P(y=1|x)$. With 3 classes you can't use one model — you need a strategy. One-vs-Rest (OvR) decomposes the 3-class problem in…
Theory is complete. This post runs logistic regression end-to-end on a real binary classification dataset: data loading, preprocessing, fitting, evaluation, hyp…