Professional Documents
Culture Documents
Logistic Regression
x
Transformation
e b = odds ratio
{
logit of P(y|x)
When use Logistic regression
Dependent variable is discrete.
At least one of the independent variables is continuous.
Logistic Regression Evaluation
After training logistic regression model on training data, we will
evaluate the performance using test data.
We can use confusion matrix to evaluate logistic regression
since it is a classification model.
Logistic Regression Advantages
Easy to implement and interpret.
Make no assumption about distribution of classes.
Logistic Regression Disadvantages
Overfit for small datasets (number of observations lesser than
number of features).
Non-linear problems can't be solved with logistic regression
because of its linear decision surface.
Logistic regression assumes multicollinearity between
independent variables.
References
Hands-On Machine Learning with Scikit-Learn, Keras, and
TensorFlow: Concepts, Tools, and Techniques to Build Intelligent
Systems’ 2nd Edition