Introduction to Logistic Regression
Learn about the sigmoid function, logistic regression, and its optimization via BCE loss.
Logistic Regression
Logistic regression is a discriminative model widely used for classification tasks. The term “logistic” in logistic regression refers to the utilization of the logistic function. Consider a binary classification problem: the target variable can take on values in . One way to model the probability distribution of the target label being equal to 1 given the feature vector is by employing a logistic function defined as:
The complementary probability can be obtained as:
Sigmoid function
A logistic function is also known as sigmoid, typically denoted by .
Get hands-on with 1200+ tech skills courses.