Skip to content

Implementing, describing and testing a single layer perceptron for predicting diabetes

License

Notifications You must be signed in to change notification settings

aditya-524/DiabetesPredictor-SLP

Repository files navigation

Diabetes Prediction using Single layer perceptron

About The Project

This is a repository for implementing, describing, and testing a Single Layer Perceptron for predicting diabetes. The results are in form of a short conference paper. I achieved an accuracy of 80.58%. In the project i used 5 fold cross validation with shuffling for determining the ideal learning rate. I used the PIMA Indians dataset .The training was evaluated using evaluation metrics such as Accuracy, Execution and AUC on various learning rates. For a detailed analysis of the results, please refer to paper & code. Below are some of the results from the paper.

First Image Second Image Third Image

Overview

We use a very basic implementation of SLP(Single Layer Perceptron) in classifying if the patient is diabetic or not.

General Flowchart for the project

Implementing

The project is implemented using a jupyter notebook, so its fairly straightforward to download it directly to retest. Notebook

Dependencies

The code utilizes the python packages as such

  • matplotlib,
  • seaborn,
  • pandas,
  • numpy,
  • scikit-learn,
  • Tensorflow.

License

Distributed under the MIT License. See LICENSE for more information.

Authors

Project Link:Project
Kaggle Notebook:
Collab Notebook:

Thank you

Shows an illustrated sun in light mode and a moon with stars in dark mode.

About

Implementing, describing and testing a single layer perceptron for predicting diabetes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published