Coder Social home page Coder Social logo

shubhamkumar2202 / diabetes-prediction- Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 1.94 MB

Predict whether or not the patient has diabetes. To accomplish this task, we will use a set of real-world data collected on females 21 years of age and over collected by a national health institution in the United States.

Jupyter Notebook 100.00%

diabetes-prediction-'s Introduction

Introduction-

In this notebook, we will explore using Bayesian Logistic Regression in order to predict whether or not a patient has diabetes. The task is supervised - we are given labeled training data to fit our model - and it is a classification task because the lables are binary. Typically this is a task that is approached with supervised machine learning techniques such as logistic regression, support vector machines, or tree based methods. We will take a slightly different approach and use a Bayesian Framework to fit a logistic regression model and then intrepret the resulting model parameters

Diabetes-Prediction-

Predict whether or not the patient has diabetes. To accomplish this task, we will use a set of real-world data collected on females 21 years of age and over collected by a national health institution in the United States.

Diabetes Confusion Matrix - Confusion Matrix

Diabetes Confusion Matrix

BMI vs Glucose for Test Data -

BMI vs Glucose for Test Data

Posterior Probabilites and Test Data - Colormap

Posterior Probabilites and Test Data

CONCLUSION

Overall, this project provided a nice introduction to the Bayesian approach to linear modeling. While not applicable in all situations, in problems with limited data, Bayesian methods allow us to create an interpretable model with good performance while also demonstrating our uncertainty about the model. Making accurate predictions is useful by itself, but it is even more powerful when we can explain the predictions of our model and use the results to improve real-world outcomes.

diabetes-prediction-'s People

Contributors

shubhamkumar2202 avatar

Stargazers

 avatar  avatar Sougato Roy avatar Shantanu avatar

Watchers

 avatar

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.