Question: what is the difference between logistic regression and classification?
Answer: Some algorithms, such as logistic regression, have the name “regression” in their names but they are not regression algorithms. On the other hand, classification algorithms attempt to estimate the mapping function (f) from the input variables (x) to discrete or categorical output variables (y).