Diabetes Risk Analyzer

How Likely Are You to Have Diabetes?

Enter lifestyle markers below to generate a risk estimate from a machine-learning model. This is designed for educational research and demonstration.

Made by Ayush Srivastava, North Allegheny Senior High School Input time: ~2 minutes
Lifestyle Markers

Please answer every question. Days fields are restricted to 0–31. BMI cannot be negative.

Body Mass Index (BMI)
Age
General health (1 = excellent 2 = very good 3 = good 4 = fair 5 = poor)
High blood pressure?
High cholesterol?
Coronary heart disease / myocardial infarction?
Serious difficulty walking?
Income
Gender
Ever had a stroke?
Days mental health not good (past 30 days)
Days physical health not good (past 30 days)
Education level
Exercised in the last 30 days (not including your job)?
Cholesterol check in the last 5 years?
Heavy drinker?
Healthcare coverage?
Smoked 100+ cigarettes in your lifetime?
Eat fruit every day?
Eat vegetables every day?
Couldn’t see a doctor due to cost (past 12 months)?
Please fix highlighted fields (RH must be 1–5, days 0–31, BMI ≥ 0).
Tip: Days fields auto-correct to 0–31 on blur. RH and BMI must be valid before submit.
Results

Your model output will appear here after you submit.

Estimated Output

Disclaimer: This tool is for educational research only and is not medical advice. Please consult a medical professional for diagnosis and treatment.