---
title: "Comment by Adil Majeed on \"Why do all Machine Learning models follow the same steps?\" | Hashnode"
description: "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 exactl"
url: "https://hashnode.com/posts/why-do-all-machine-learning-models-follow-the-same-steps/6157035528ed304eb1d81323/comment/636ea608bd8f471a05206c26"
---

[Discussion](https://hashnode.com/posts/why-do-all-machine-learning-models-follow-the-same-steps/6157035528ed304eb1d81323)

Comment [Why do all Machine Learning models follow the same steps?](https://hashnode.com/posts/why-do-all-machine-learning-models-follow-the-same-steps/6157035528ed304eb1d81323)

[Adil Majeed](https://hashnode.com/@adild2k)

[Nov 11, 2022](https://hashnode.com/posts/why-do-all-machine-learning-models-follow-the-same-steps/6157035528ed304eb1d81323/comment/636ea608bd8f471a05206c26)

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](https://hashnode.com/@jsulopzs)

[Nov 12, 2022](https://hashnode.com/posts/why-do-all-machine-learning-models-follow-the-same-steps/6157035528ed304eb1d81323/comment/636ea608bd8f471a05206c26#reply-636f43658a838a231e2ab9a7)

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.
