Logistic Regression is a supervised machine learning algorithm used for classification tasks. It predicts the probability that an input belongs to a particular class, typically binary (yes/no, true/false). The model uses a logistic (sigmoid) function to map predicted values to probabilities between 0 and 1. Despite its name, it is used for classification rather than regression, making it a foundational model in artificial intelligence and data science.
Logistic Regression is a supervised machine learning algorithm used for classification tasks. It predicts the probability that an input belongs to a particular class, typically binary (yes/no, true/false). The model uses a logistic (sigmoid) function to map predicted values to probabilities between 0 and 1. Despite its name, it is used for classification rather than regression, making it a foundational model in artificial intelligence and data science.
What is logistic regression?
A binary classification model that estimates the probability of an outcome using a logistic (sigmoid) function; it models the log-odds as a linear combination of features.
How does logistic regression differ from linear regression?
Logistic regression predicts a probability between 0 and 1 for a binary outcome, using a logistic function; linear regression predicts a continuous value and can output any real number.
What is the role of the sigmoid function in logistic regression?
The sigmoid maps the linear predictor to a probability in [0,1]: p = 1 / (1 + exp(-z)), where z is the weighted sum of features.
How are coefficients interpreted in logistic regression?
Exponentiated coefficients (e^{beta}) are odds ratios: a one-unit increase in a feature changes the odds of the positive class by that factor, holding other features constant.