LOGISTIC REGRESSION
- This method converts a linear combination of input information into a probability value between 0 and 1 by using the logistic (or sigmoid) function.
- This probability shows how likely it is that an input falls into one of the two predetermined categories.
- The capacity of the logistic function to accurately describe the probability of binary events is the basis of the fundamental mechanism of logistic regression.
- The logistic function efficiently transfers every real-valued number to a value between 0 and 1 thanks to its characteristic S-shaped curve.
It converts any real number between 0 and 1 into another value.
The logistic regression's result must lie between 0 and 1, and as it cannot be greater than this, it takes the shape of a "S" curve.
The idea of the threshold value, which indicates the likelihood of either 0 or 1, is used in logistic regression. For example, values above the threshold tend towards one, and those below the threshold tend towards zero. For example, values above the threshold tend towards one, and those below the threshold tend towards zero.
There must be a category component to the dependent variable.
Linear
Regression |
Logistic
Regression |
Linear regression is used to predict the
continuous dependent variable using a given set of independent variables. |
Logistic Regression is used to predict the
categorical dependent variable using a given set of independent variables. |
Linear
Regression is used for solving Regression problem. |
Logistic
Regression is used for solving Classification Problems. |
In Linear regression, we predict the value of
continuous variables. |
In logistic Regression, we predict the values
of categorical variables. |
The
output for Linear Regression must be a continuous value, such as price, age,
etc. |
The
output must be a categorical value such as 0 or 1, Yes or No, etc. |
References:
No comments:
Post a Comment