Skip to content

SurrajKumar2000/Diabetes-Prediction-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diabetes-Prediction-System

The main objective of this project is to predict whether a person is suffering from diabetes or not based on various features like insulin level,glucose level,age,BMI.In this process , we will perform all the steps from Data gathering to Model deployment. Here we have used logistic regression to predict the accuracy.Then we create a web app using Django which is a python framework.

Table of Contents
  1. About the Project
  2. Getting Started

About The Project

Screenshot 2021-08-07 at 10 21 19 AM

Screenshot 2021-08-07 at 10 21 26 AM

Screenshot 2021-08-07 at 10 21 47 AM

Screenshot 2021-08-07 at 10 21 53 AM

GETTING STARTED:

Prerequisites

  • Install Python

     py --version
  • Setting up a virtual environment To create a virtual environment for your project, open a new command prompt, navigate to the folder where you want to create your project and then enter the following:

     py -m venv project-name

    This will create a folder called ‘project-name’ if it does not already exist and setup the virtual environment. To activate the environment, run:

     project-name\Scripts\activate.bat
  • Install Django In the command prompt, ensure your virtual environment is active, and execute the following command:

      py -m pip install Django

Installation

  • Install all the necessary files.
  • Open Pycharm and paste all the files.
  • In the terminal type cd DiabetesProject -> cd DiabetesProject -> python manage.py runserver.Now django server will be initiallised..
  • Open http://127.0.0.1:5000/ in your browser.

CONCLUSION:

From this system an accuracy of 70% - 80% can be achieved.

About

Predicting Diabetes using machine learning algorithms and Django framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published