A Machine Learning model which predicts the presence of Diabetes in Patients

This is a machine Learning mode which tries to determine if a person has a heart disease or not.

Data

The dataset is in comma seperated values (.csv) format and is included in th code.

Packages Used

The following Packages were used

  • scikit-learn: To preprocess the data, initiate the model, split the data, cross-validate the data and score the model.
  • pandas: To import the dataset, change the dataset into a dataframe and view the data
  • seaborn & matplotlib: To visualize the data and to create heat maps to perform feature selection.

Model

Two models were used in this project:

  • The KNearestNeaighbor Classifier.
  • The Multi-Layer Perceptron Classifier.

Model Accuracy