© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Adil Majeed
Since the problem seems to be a classification problem then why Logistic Regression is being used? Although the methodology of using the sci-kit learn is exactly the same as they had build in that way. is my understanding correct?
Jesús López
Python + Data Science Coach, Consultant & Advisor
The “Regression” part in this name makes anyone think that this is a regression problem where our target variable is numerical.
Nevertheless, it is an exceptional case of regression because it calculates a number between 0 and 1, which can be interpreted as a probability.
Later, it transforms the predictions to 0 or 1 based on the threshold of 0.5.