Code Monkey home page Code Monkey logo

predicting-diabetes-'s Introduction

End-to-End Diabetes Prediction Application using Machine Learning (MINI Project)

Table of Content

Overview

In this project, the objective is to predict whether the person has Diabetes or not based on various features suach as

  • Pregnancies
  • Insulin Level
  • Age
  • BMI. The data set that has used in this project has taken from the kaggle . "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." and used a simple random forest classifier.

Motivation

The motivation was to experiment with end to end machine learning project and get some idea about deployment platform like Heroku and offcourse this " Diabetes is an increasingly growing health issue due to our inactive lifestyle. If it is detected in time then through proper medical treatment, adverse effects can be prevented. To help in early detection, technology can be used very reliably and efficiently. Using machine learning we have built a predictive model that can predict whether the patient is diabetes positive or not.". This is also sort of fun to work on a project like this which could be beneficial for the society.

DEMO

Visit this link for live demo

Learning Objective

The following points were the objective of the project . If you are looking for all the following points in this repo then i have not covered all in this repo. I'm working on blog about this mini project and I'll update the link of blog about all the points in details later . (The main intention was to create an end-to-end ML project.)

  • Data gathering
  • Descriptive Analysis
  • Data Visualizations
  • Data Preprocessing
  • Data Modelling
  • Model Evaluation
  • Model Deployment

Technical Aspect

  • Training a machine learning model using scikit-learn.
  • Building and hosting a Flask web app on Heroku.
  • A user has to put details like Number of Pregnancies, Insulin Level, Age, BMI etc .
  • Once it get all the fields information , the prediction is displayed on a new page .

Technologies Used

Bug / Feature Request

If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.

If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.

Installation

  • Clone this repository and unzip it.
  • After downloading, cd into the flask directory.
  • Begin a new virtual environment with Python 3 and activate it.
  • Install the required packages using pip install -r requirements.txt
  • Execute the command: python app.py

Team

Anurag Singhania - Ml Model Evaluation and Deployment

Hemant Kumar - Data Preprocessing & Gathering

Vikram Kumar - HTML & CSS

Manish Kumar Rajak -Presentation

Credits

Note:

  • Webapp can handle concurrency upto some extent but can be scaled.

License

Distributed under the MIT License. LICENSE

predicting-diabetes-'s People

Contributors

itzanuragsinghania avatar

Stargazers

 avatar  avatar  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.