Skip to content

AdiShenz98/Early-Stage-Diabetes-Risk-Predictor-App

Repository files navigation

Diabetes_App_Banner

Early Stage Diabetes Risk Predictor App

A simple web app to estimate the risk of developing diabetes at an early stage

adishenz98

Click ☝️ to check App!!

adishenz98 adishenz98 adishenz98

adishenz adishenz

image Description

A simple web application where individuals can estimate their risk of developing diabetes at an early stage based on certain symtom parameters.

image Motivation

Diabetes represents a spectrum of metabolic disorders, which has become a major health challenge worldwide. The unprecedented economic development and rapid urbanization in Asian countries, particularly in India has led to a shift in health problems from communicable to non-communicable diseases. Of all the non-communicable diseases, diabetes leads the list.

India has a high prevalence of diabetes mellitus and the numbers are increasing at an alarming rate. In India alone, diabetes is expected to increase from 40.6 million in 2006 to 79.4 million by 2030. Studies have shown that the prevalence of diabetes in urban Indian adults is about 12.1%, the onset of which is about a decade earlier than their western counterparts and the prevalence of Type 2 diabetes is 4–6 times higher in urban than in rural areas. The risk factors peculiar for developing diabetes among Indians include high familial aggregation, central obesity, insulin resistance and life style changes due to urbanization

The rising prevalence of diabetes and its complications will place a significant financial burden on our country's health-care system. Timely effective interventions/measures and screening tests for complications at the time of diagnosis becomes imperative not only for early detection, but also to prevent progression to end stage disease.

image Data Source

The data was taken from UCL Machine Learning Repository

https://archive.ics.uci.edu/ml/datasets/Early+stage+diabetes+risk+prediction+dataset./

image About the Dataset

The dataset was collected using direct questionnaires from the patients of Sylhet Diabetes Hospital in Sylhet, Bangladesh and approved by a doctor.

image Languages, Libraries and Frameworks

Name Version
Python v3.9.5
Streamlit v0.84.1
pandas v1.2.4
numpy v1.20.3
matplotlib v3.4.2
seaborn v0.11.1
plotly v5.1.0
joblib v1.0.1

image Usage

  • Clone Early_Stage_Diabetes_Risk_Predictor repository.

  • Open CMD in working directory.

  • Run following command.

    pip install -r requirements.txt
    
  • app.py is the main python file of Streamlit Web Application.

  • To run app, write the following command in cmd or in your preferred IDE terminal

    streamlit run app.py
    

image License

adishenz98