File size: 5,179 Bytes
283171a
 
 
 
4b22762
283171a
 
4b22762
 
 
 
 
283171a
 
4b22762
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
license: mit
task_categories:
- token-classification
- reinforcement-learning
language:
- en
tags:
- health
- diabetes
- glucose
- classification
size_categories:
- 10K<n<100K
---
# ⛽ Synthetic Diabetes Data
This dataset contains various features that are helpful for predicting if a patient has diabetes. The data is compiled into a single csv file for analysis and model training.

# 📁 Dataset Description
Contains synthetic data on based on synthetic patient information. 

# Columns
The dataset includes the following columns:


 - abdominal_obesity (int)


 - alcohol_consumption_per_week (int):
    > The amount of alcohol consumption per week of the patient.

 - alcohol_group (string): 
    > The category the patient is placed in, in regards to their alcohol consumption.

 - bmi (float):
    > The body mass index of the patient.

 - bmi_group (string):
    > The category the patient is placed in, in regards to their bmi.

 - cardiovascular_history (int):
    > Indicates whether or not patient has a history of cardiovascular.

 - cholesterol_total (int):
    > Sum of all cholesterol types in blood. Indicator of diabetic dyslipidemia, referring to a specific pattern of abnormal blood lipid levels commonly seen in people with diabetes.

    > Total Cholesterol = HDL+LDL+VLDL = HDL+LDL+(Triglycerides/5)
    > Ideal Level: Total Cholesterol: <200 mg/dL

 - diabetes_risk_score (float)

 - diabetes_stage (string)

 - diastolic_bp (int):
    > Pressure when the heart relaxes between beats.

    > Elevated BP is common in diabetes but does not diagnose it. 

    > Useful for risk stratification, not for diagnosis.

 - education_level (string):
    > The education level of the patient.

 - employment_status (string):
    > The employment status of the patient.

 - ethnicity (string):
    > The ethnicity of the patient.

 - family_history_diabetes (int):
    > Indicates whether or not the patient's family has history of diabetes.

 - gender (string):
    > The gender of the patient.

 - glucose_fasting (int):
    > Glucose levels when fasting

 - glucose_postprandial (int):
    > Measure of blood glucose levels ~ 2 hours after a meal.

    > Elevated post-meal glucose is an early sign of impaired glucose metabolism and type 2 diabetes.

    > Ranges: <18 µU/mL too Low; Typical peak: 18–276 mg/dL = Healty insulin response; ≥276 mg/dL = insulin resistance or hyperinsulinemia

 - hba1c (float):
    > Hemoglobin A1c

    > Average blood sugar over 2–3 months.

    > Diagnostic use: HbA1c 5.7–6.4% = prediabetes. HbA1c ≥6.5% = diabetes

    > Strength: Does not require fasting and is widely used for diagnosis and monitoring.

 - hdl_cholesterol (int):
    > High-Density Lipoprotein Cholesterol: “Good” cholesterol. Removes excess cholesterol from arteries. Higher HDL = better.

    > Ideal Level: >40 mg/dL (men), >50 mg/dL (women)

 - heart_rate (int)    
    > Diabetes can cause autonomic neuropathy, leading to abnormal heart rate or variability.
    > Not diagnostic, but may indicate complications.

 - hypertension_history (int):
    > Indicates whether or not the patient has a history of hypertension.

 - income_level (string):
    > The income bracket of the patient.

 - insulin_level (float):  
    > Units: µU/mL (micro-units per milliliter) or mIU/L (milli-international units per liter). Units are interchangeable: 1 µU/mL = 1 mIU/L

    > Fasting Insulin (after 8–12 hours without food):

    > - Normal: 2–25 µU/mL
    > - Optimal: Many experts suggest <10 µU/mL for best metabolic health
    > - Above 25 µU/mL: May indicate insulin resistance or hyperinsulinemia
    > - Below 2 µU/mL: May indicate type 1 diabetes or pancreatic dysfunction

    > Postprandial (after eating, usually 30–90 minutes):

    > - Normal peak: 18–276 µU/mL
    > - Should return to baseline within 2–3 hours
    > - Higher spikes often occur after high-carb meals

 - ldl_cholesterol (int):
    > Low-Density Lipoprotein Cholesterol: “Bad” cholesterol.

    > Deposits cholesterol in artery walls, leading to plaque buildup. Lower LDL = better.

    > Ideal Level: <100 mg/dL

 - physical_activity_minutes_per_week (int):
    > The average time of performing physical activities per week (in minutes).

 - screen_time_hours_per_day (float):
    > The time (in hours) that the patient spends using technology.

 - sleep_hours_per_day (float):
    > The amount of time the patient sleeps per night.

 - smoking_status (string):
    > The smoking status of the patient.

 - systolic_bp (int):
    > Normal peak: 18–276 µU/mL

    > Should return to baseline within 2–3 hours

    > Higher spikes often occur after high-carb meals

 - triglycerides (int):  
    > A type of fat in blood. High levels often linked to insulin resistance and diabetes.

    > Ideal Level: <150 mg/dL

 - waist_to_hip_ratio (float):
    > The waist circumference divided by the hip circumference.

 - diagnosed_diabetes (int)
   > Label/Target Column

# 📚 Data Sources
The data in this project is sourced from the following source: [Diabetes EDA Analysis](https://huggingface.co/datasets/guyshilo12/diabetes_eda_analysis)