Machine Learning Fundamentals Logistic Regression
About
An introduction to Logistic Regression: what it is, how it works, and how to run a model using scikit-learn.
Learning Objectives
You will be able to:
- Describe the principles of Logistic Regression.
- Describe how logistic regression is similar to and different from linear regression.
- Interpret the coefficients of a Logistic Regression model.
- State the assumptions of a Logistic Regression model.
- Fit, evaluate, and generate predictions from a Logistic Regression model in
scikit-learn.
Content
| Topic | About |
|---|---|
| Full Lesson Deck | - Describe the principles of Logistic Regression- - Interpret the coefficients of a Logistic Regression model.- - State the assumptions of a Logistic Regression model. |
| 02 Logistic Regression | - Fit, evaluate, and generate predictions from a Logistic Regression model in scikit-learn |
| Practice | An optional additional exercise to help practice building logistic regression models |
Prerequisites
- Interpret and use Python dictionaries.
- Build
pandasDataFramesfrom dictionaries. - Perform simple data manipulation on
pandasobjects. - Build
forandwhileloops in Python. - Use
pip installfor package management. - Create data visualizations in a noteboook using
matplotlibandseaborn. - Build a linear regression model.
- Understand bias / variance and implment train-test split.
References
📖 Reference Materials
Important note
Please ignore the _layouts folder and the config.yml file in the root of this repo. They are needed to make sure the repo renders well; please don’t change them or delete them and your repo will work fine :)