Towards Data Science AI

The Machine Learning “Advent Calendar” Day 12: Logistic Regression in Excel

Capture Decran 2025 12 12 A 00.53.07
Capture Decran 2025 12 12 A 00.53.07
In this article, we rebuild Logistic Regression step by step directly in Excel. Starting from a binary dataset, we explore why linear regression struggles as a classifier, how the logistic function fixes these issues, and how log-loss naturally appears from the likelihood. With a transparent gradient-descent table, you can watch the model learn at each iteration—making the whole process intuitive, visual, and surprisingly satisfying.

Leave a Reply

Your email address will not be published. Required fields are marked *