What is logistic regression? When do we need to use it?
Classic MLLevel: FoundationClassification
What is logistic regression? When do we need to use it?
Hints
- Separate the linear score from the function mapping it to a probability.
- Connect the target distribution to its negative log-likelihood.
Answer
Logistic regression is a Machine Learning algorithm that is used for binary classification. You should use logistic regression when your Y variable takes only two values, e.g. True and False, "spam" and "not spam", "churn" and "not churn" and so on. The variable is said to be a "binary" or "dichotomous".
Source and licence: Alexey Grigorev & contributors — Data Science Interviews · CC-BY-4.0