Skip to content

Duffy617/PIMA-Indian-Diabetes-Predictions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PIMA-Indian-Diabetes-Predictions

This projects intends to analyze and create a model on the PIMA Indian Diabetes dataset to predict if a particular observation is at a risk of developing diabetes, given the independent factors.

The dataset can be found on the Kaggle website. This dataset is originally from the National Institute of Diabetes and Digestive and Kidney Diseases and can be used to predict whether a patient has diabetes based on certain diagnostic factors.

★Dataset and Data Information: https://www.kaggle.com/uciml/pima-indians-diabetes-database

STEPs

  1. Import and seed various random functions for same result
  2. Import Pandas, Sequential and Dense from Keras
  3. Read the csv file
  4. Create X and Y variables
  5. Split the data into training and test sets
  6. Define the keras sequential model with 3 hidden layers
  7. Compile the keras model for classification accuracy
  8. Fit the model on the training dataset
  9. Evaluate and print the model accuracy on test dataset
  10. Predict the classes using test data and the compiled model
  11. Create the confusion matrix

About

Using data from Pima Indians Diabetes Database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published