pradeep-xpert commited on
Commit
8793a3a
·
verified ·
1 Parent(s): b9f0431

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +213 -0
  2. hc_end_005_sample.csv +0 -0
README.md ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - healthcare
7
+ - endocrinology
8
+ - metabolic-syndrome
9
+ - cardiovascular-risk
10
+ - insulin-resistance
11
+ - gaussian-copula
12
+ - synthetic-data
13
+ - ehr
14
+ - clinical
15
+ pretty_name: "HC-END-005 Metabolic Syndrome Synthetic Dataset (Sample)"
16
+ size_categories:
17
+ - n<1K
18
+ task_categories:
19
+ - tabular-classification
20
+ - tabular-regression
21
+ ---
22
+
23
+ # HC-END-005 — Metabolic Syndrome Synthetic Dataset (Sample)
24
+
25
+ **XpertSystems.ai · Synthetic Data Factory · Endocrinology Vertical**
26
+
27
+ A statistically sophisticated synthetic cohort of metabolic-syndrome patients built on a
28
+ **Gaussian copula** (MESA/NHANES-calibrated correlation matrix) so the five MetS components —
29
+ waist, triglycerides, HDL, fasting glucose, and blood pressure — are *jointly correlated*
30
+ rather than independently sampled. Covers MetS diagnosis (NCEP-ATP III & IDF), continuous
31
+ severity (Gurka/Kaplan Z-score), 4-cluster staging, full lipid/glycemic/BP panels, CVD risk
32
+ (PCE/SCORE2/Framingham), adipokines & inflammation, renal/hepatic markers, lifestyle,
33
+ intervention arms (DPP-style), and outcomes. This repository contains a **500-row,
34
+ single-seed sample**. The full commercial product scales to 30,000+ patients with 15-year
35
+ follow-up and CSV / Parquet / JSON delivery.
36
+
37
+ - **SKU:** HC-END-005
38
+ - **Sample size:** 500 patients × 151 columns
39
+ - **License (sample):** CC-BY-NC-4.0 — commercial license available for the full product
40
+ - **Contact:** pradeep@xpertsystems.ai · https://xpertsystems.ai
41
+
42
+ ---
43
+
44
+ ## Validation
45
+
46
+ This sample passes XpertSystems Grade **A+** validation (overall **10.000 / 10**) with
47
+ deterministic reproduction across all six canonical seeds `[42, 7, 123, 2024, 99, 1]`.
48
+
49
+ Validation philosophy: **structural identities over distribution-fit tests** — including a
50
+ copula-fidelity check (correlation magnitude between waist and triglycerides is preserved).
51
+ This engine also passes its own built-in 9-benchmark suite (MetS prevalence, T2DM, HTN, NAFLD,
52
+ mean TG/HDL/SBP, MetS resolution, MACE). MetS prevalence lands at **33%**, right on the
53
+ NHANES ~34% anchor.
54
+
55
+ ### Calibration anchors
56
+
57
+ | Metric | Sample value | Target range | Source |
58
+ |---|---|---|---|
59
+ | MetS prevalence (NCEP-ATP III) | 33.0% | 29–40% | NHANES 2013-2020 (~34%) |
60
+ | T2DM prevalence | 12.0% | 9–20% | MetS-enriched cohort |
61
+ | Hypertension prevalence | 52.6% | 46–60% | MetS-enriched |
62
+ | NAFLD prevalence | 24.6% | 18–42% | NAFLD epidemiology |
63
+ | Mean triglycerides | 179.8 mg/dL | 155–195 | MESA / NHANES marginals |
64
+ | Mean HDL | 48.8 mg/dL | 44–58 | MESA / NHANES marginals |
65
+ | Mean SBP | 126.6 mmHg | 122–142 | MESA / NHANES marginals |
66
+ | MACE rate (follow-up) | 9.4% | 5–18% | Pooled Cohort Equations |
67
+ | Lifestyle-arm MetS resolution 1yr | 47.7% | 30–65% | DPP lifestyle proxy |
68
+ | **Copula \|corr(waist,TG)\|** | **0.27** | **≥0.20** | Gaussian copula (MESA target ~0.42) |
69
+ | **IDF ⊆ NCEP consistency** | **100%** | **≥0.99** | Definition integrity |
70
+ | **Component count in [0,5]** | **100%** | **≥1.0** | Diagnostic integrity |
71
+ | **eGFR in [14,128]** | **100%** | **≥1.0** | Renal physiology bounds |
72
+ | **Column count** | **151** | **≥145** | Schema completeness |
73
+
74
+ ---
75
+
76
+ ## Schema highlights by module (151 columns)
77
+
78
+ **Demographics & SDOH.** Age, sex, race/ethnicity, insurance, SES, food insecurity, urban flag.
79
+
80
+ **MetS diagnosis.** 4-cluster label (Healthy/Early/Established/Refractory), NCEP & IDF flags,
81
+ continuous Z-score, component count, duration; the five criterion flags (waist/TG/HDL/FG/BP).
82
+
83
+ **Adiposity.** BMI, weight, height, waist, WHR, body-fat %, visceral & subcutaneous fat area,
84
+ visceral-adiposity-index, lipid-accumulation product.
85
+
86
+ **Lipids.** TC/LDL/HDL/TG/VLDL/non-HDL/ApoB/Lp(a)/sdLDL/TG-HDL ratio/remnant cholesterol;
87
+ statin (type, LDL reduction), fibrate, omega-3.
88
+
89
+ **Glycemia.** Fasting glucose, HbA1c, fasting insulin, HOMA-IR/B, OGTT 2hr; T2DM & prediabetes
90
+ flags; metformin, GLP-1, SGLT2i, insulin; GLP-1/SGLT2 cardiometabolic relative risks.
91
+
92
+ **Blood pressure.** SBP/DBP, treated SBP/DBP, pulse pressure, MAP, hypertension flag, BP class,
93
+ control flag, ABPM, nocturnal dipping.
94
+
95
+ **CVD risk & events.** ASCVD-10yr (PCE), SCORE2, Framingham, risk category; MACE flag & TTE,
96
+ CAD/stroke/HF/AFib/PAD; carotid IMT, coronary calcium; hs-CRP, NT-proBNP, troponin.
97
+
98
+ **Adipokines & inflammation.** Adiponectin, leptin (+ resistance), IL-6, TNF-α, resistin,
99
+ visfatin, omentin-1.
100
+
101
+ **Renal/hepatic.** eGFR, UACR, CKD; ALT/AST/GGT, FIB-4, NAFLD/NASH; uric acid, hyperuricemia.
102
+
103
+ **Endocrine & comorbidities.** Hypothyroidism, TSH, cortisol; OSA & AHI, depression (PHQ-9),
104
+ anxiety, stress (PSS).
105
+
106
+ **Lifestyle.** Smoking, alcohol, diet pattern & quality, physical-activity level, exercise
107
+ minutes, VO₂max, steps, sleep.
108
+
109
+ **Intervention & outcomes.** Arm (Control/Lifestyle/Pharma/Combined), lifestyle sub-arm,
110
+ adherence, caloric deficit, 1-yr weight loss, MetS resolution (1/3/5-yr); utilization, cost,
111
+ EQ-5D.
112
+
113
+ **Coding.** ICD-10 (E88.81 MetS), LOINC.
114
+
115
+ ---
116
+
117
+ ## Files
118
+
119
+ - `hc_end_005_sample.csv` — 500-patient sample (151 columns)
120
+ - `generate_sample_dataset_hc_end_005.py` — reproducible generator + validation harness
121
+ - `validation_report.json` / `validation_report.md` — full scorecard
122
+ - `sweep_summary.json` — 6-seed determinism results
123
+
124
+ ## Loading
125
+
126
+ ```python
127
+ import pandas as pd
128
+ df = pd.read_csv("hc_end_005_sample.csv")
129
+ print(df[["patient_id","mets_cluster_label","mets_z_score",
130
+ "homa_ir","ascvd_10yr_risk_pct","intervention_type"]].head())
131
+ ```
132
+
133
+ ```python
134
+ from datasets import load_dataset
135
+ ds = load_dataset("csv", data_files="hc_end_005_sample.csv")
136
+ ```
137
+
138
+ ## Use cases
139
+
140
+ - Metabolic-syndrome classification & severity (Z-score) modeling
141
+ - Multi-component correlated-risk-factor analysis (copula-generated joint structure)
142
+ - CVD-risk prediction and PCE/SCORE2 tooling
143
+ - Intervention cost-effectiveness & DPP-style resolution modeling
144
+ - Insulin-resistance / adipokine research prototyping
145
+ - ML training where real cardiometabolic EHR data is PHI-restricted
146
+
147
+ ---
148
+
149
+ ## Honest limitations & disclosed generator behavior
150
+
151
+ Transparency is a core XpertSystems principle. The v1.0 engine has the following known
152
+ behaviors. They are reproducible and disclosed.
153
+
154
+ 1. **Copula correlations are attenuated in Pearson space.** The Gaussian copula sets the
155
+ *rank* correlation of the five components, but subsequent marginal transforms and added
156
+ independent noise (e.g. extra normal terms on glucose and SBP) dilute the final Pearson
157
+ correlations — observed waist-TG ~0.27–0.39 vs the MESA target 0.42, and weaker still for
158
+ glucose/SBP. The joint structure is real and far better than independent sampling, but is
159
+ softer than the input matrix.
160
+ 2. **TG-HDL correlation sign is positive.** Due to a double-negative in the HDL transform
161
+ (`hdl = mu - sd·norm_ppf(U[:,2])` where U[:,2] already carries the negative copula loading),
162
+ the realized triglyceride-HDL correlation is **positive** (~0.28) rather than the expected
163
+ negative (~-0.45). Treat HDL's joint coupling with caution.
164
+ 3. **`visceral_adiposity_index` is a proxy, not true VAI.** The assembled field is
165
+ `visfatin·0.1 + bmi·0.2`; the properly-computed VAI (sex-specific TG/waist formula) is
166
+ calculated internally but discarded. Use `lip_accum_product` for a validated adiposity index.
167
+ 4. **T2DM flag is HbA1c-derived.** `t2dm_flag = HbA1c ≥ 6.5` overrides the latent T2DM prior
168
+ used to seed glucose, so the flag is internally consistent with HbA1c but can diverge from
169
+ the fasting-glucose mixture in edge cases.
170
+
171
+ General caveat: cross-field correlations beyond those in the copula and explicit couplings may
172
+ be weaker than in real cohorts. **Not for clinical decision-making** — research/development use only.
173
+
174
+ ---
175
+
176
+ ## Commercial product comparison
177
+
178
+ | Capability | This sample | Full HC-END-005 product |
179
+ |---|---|---|
180
+ | Patients | 500 | 30,000+ (configurable) |
181
+ | Follow-up | baseline + flags | 15-year longitudinal |
182
+ | Seeds / cohorts | 1 | Multi-seed, reproducible |
183
+ | Formats | CSV | CSV + Parquet + JSON |
184
+ | Copula fidelity | Attenuated (disclosed) | Calibrated to recover target Pearson matrix |
185
+ | HDL coupling | Positive sign (disclosed) | Sign-corrected negative coupling |
186
+ | VAI | Proxy (disclosed) | Validated sex-specific VAI |
187
+ | License | CC-BY-NC-4.0 | Commercial |
188
+ | Support & SLA | — | Included |
189
+
190
+ Full product, custom cohorts, or other endocrinology SKUs: **pradeep@xpertsystems.ai**
191
+
192
+ ---
193
+
194
+ ## Citation
195
+
196
+ ```bibtex
197
+ @dataset{xpertsystems_hc_end_005_2026,
198
+ title = {HC-END-005: Metabolic Syndrome Synthetic Dataset},
199
+ author = {XpertSystems.ai},
200
+ year = {2026},
201
+ publisher = {XpertSystems.ai Synthetic Data Factory},
202
+ url = {https://xpertsystems.ai},
203
+ note = {Synthetic; CC-BY-NC-4.0 (sample). Gaussian-copula component structure
204
+ calibrated to: NHANES 2013-2020 MetS prevalence; MESA correlation
205
+ matrices (Multi-Ethnic Study of Atherosclerosis); CARDIA cluster
206
+ transitions; Diabetes Prevention Program (DPP) lifestyle/metformin arms;
207
+ LEADER (Marso 2016) and EMPA-REG OUTCOME (Zinman 2015); ACC/AHA Pooled
208
+ Cohort Equations; SPRINT and ACCORD-BP blood-pressure trials.}
209
+ }
210
+ ```
211
+
212
+ *Synthetic data generated by XpertSystems.ai. Not derived from real patient records.
213
+ Not for clinical use.*
hc_end_005_sample.csv ADDED
The diff for this file is too large to render. See raw diff