GithubHelp home page GithubHelp logo

careless-caramel / diabetes-prediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 51 KB

The goal of this project is to predict whether a patient reported is diabetic or not based on diagnostic measures using a Machine Learning algorithm. We are focusing on KNN Classifier for this problem.

License: GNU General Public License v3.0

Jupyter Notebook 100.00%
accuracy-metrics knn-classifier scikit-learn supervised-machine-learning confusion-matrix diabetes-prediction pima-diabetes-data

diabetes-prediction's Introduction

Diabetes Classification using KNN Classification algorithm

360_F_254057115_U7v21xIVH1VwLe9jpfbztv8asNm1GvWa

Objective :

The goal of this project is to predict the onset of diabetes based on diagnostic measures.

Dataset :

https://www.kaggle.com/uciml/pima-indians-diabetes-database

About Data :

This dataset is originally from the National Institute of Diabetes and Digestive and Kidney Diseases. The objective of the dataset is to diagnostically predict whether or not a patient has diabetes, based on certain diagnostic measurements included in the dataset. Several constraints were placed on the selection of these instances from a larger database. In particular, all patients here are females at least 21 years old of Pima Indian heritage.The datasets consists of several medical predictor variables and one target variable, Outcome. Predictor variables includes the number of pregnancies the patient has had, their BMI, insulin level, age, and so on.

Implementation :

Libraries:

  1. sklearn
  2. pandas

Classification Report:

The performance of the model is calculated using accuracy_score function.It computes the accuracy, either the fraction (default) or the count (normalize=False) of correct predictions.

I have got 76% accuracy which I think is pretty good ;)

๐Ÿš€ About Me

Hi, I'm Anna! ๐Ÿ‘‹

I am an AI Enthusiast and Data science & ML practitioner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.