Logistic Regression in scikit-learn
This repository contains the code for the "Logistic Regression in scikit-learn" presentation I gave for the Data Science Society at Auburn University. The slides for the presentation can be found here.
Cloning the repository
git clone https://github.com/airalcorn2/logistic-regression.git
Setting up the virtual environment
See here for a short intro to virtual environments.
cd logistic-regression
python3 -m venv logistic-regression
source logistic-regression/bin/activate
Installing the necessary Python packages
pip3 install -r requirements.txt
Running the machine learning script
python3 lr_sklearn.py
Running the statistics script
python3 lr_statsmodels.py