⚕️

Diabetes Prediction & AI Medical Assistant

Predict diabetes risk and get personalized medical guidance

📊 About This System

This diabetes prediction system uses machine learning algorithms trained on the Pima Indians Diabetes Dataset to assess your risk of developing diabetes based on key health metrics.

The system analyzes 8 different health parameters to provide you with a comprehensive risk assessment.

⚠️ Disclaimer: This tool is for educational purposes only. Always consult qualified healthcare professionals for medical advice, diagnosis, or treatment.

📝 Health Assessment

Range: 0-17
2-hour plasma glucose concentration • Normal: 70-140 mg/dL
Diastolic blood pressure • Normal: <80 mm Hg
Triceps skin fold thickness
2-hour serum insulin • Normal: <200 mu U/ml
Weight in kg/(height in m)² • Normal: 18.5-24.9
Genetic predisposition score • Higher values indicate stronger family history
Range: 21-120 years

🤖 AI Medical Assistant

Get instant medical guidance and information

👋 Hello! I'm your AI Medical Assistant. I'm here to help you understand diabetes, answer your questions, and provide guidance.

Click any button above or ask me anything about diabetes care, symptoms, treatment, or prevention.

Just now
0/500
🩺

Ready to Assess Your Risk?

Enter your health parameters on the left and click "Predict Diabetes Risk" to get your personalized risk assessment.

Model Type:

Random Forest Classifier

Accuracy:

84%

Dataset:

Pima Indians Diabetes Dataset

Sample Size:

768 female patients of Pima Indian heritage

Features:

8 diagnostic measurements

Target Classes:

2 (Diabetic / Non-Diabetic)

The Random Forest algorithm creates multiple decision trees and merges them together to get a more accurate and stable prediction. It's particularly effective for medical diagnosis due to its ability to handle non-linear relationships and provide feature importance rankings.

Risk Factors Explained

  • Glucose Level: High blood glucose is the primary indicator of diabetes. Levels above 140 mg/dL after eating may indicate impaired glucose tolerance.
  • BMI: Body Mass Index above 30 significantly increases diabetes risk due to insulin resistance associated with excess body fat.
  • Age: Risk increases with age, particularly after 45 years, due to decreased insulin production and sensitivity.
  • Family History: The Diabetes Pedigree Function represents genetic predisposition. Higher values indicate stronger family history.
  • Blood Pressure: Elevated blood pressure (≥90 mm Hg diastolic) is often associated with metabolic syndrome and diabetes.
  • Insulin: Very high or very low insulin levels can indicate insulin resistance or beta-cell dysfunction.

What To Do Next

If High Risk:

  • Schedule an appointment with your healthcare provider immediately
  • Request comprehensive diabetes screening tests (HbA1c, fasting glucose)
  • Discuss lifestyle modifications and potential interventions

General Health Tips:

  • Maintain a balanced diet rich in vegetables, whole grains, and lean proteins
  • Limit refined sugars and processed carbohydrates
  • Engage in at least 150 minutes of moderate exercise per week
  • Maintain a healthy weight (BMI 18.5-24.9)
  • Monitor your blood pressure and glucose levels regularly
  • Avoid smoking and limit alcohol consumption