This project implements a logistic regression model from scratch. You can easily run the analysis on the dataset by following the instructions below.
Created by Marc-Antoine Nadeau, Jessie Kurtz, and Baicheng Peng
To perform logistic regression on the Diabetes Health Indicators dataset:
- Navigate to the
DiabetesHealthIndicatorsfolder. - Run the
PrepareAndTestDataset.pyfile.
DiabetesHealthIndicators/Data: Contains the data for logistic regression.
Any resulting figures/graphs will be saved in their respective folders:
DiabetesHealthIndicators/Results: Contains the results for logistic regression.
The Helper.py and PlotHelpers.py file contains all the helper functions used throughout this project.
Make sure you have the following Python libraries installed:
numpypandasmatplotlibseabornscikit-learn
You can install them using pip:
pip install numpy pandas matplotlib seaborn scikit-learn