Datasets:
group stringclasses 4
values | label stringclasses 4
values | month int64 1 50 | empirical_pdc float64 0 1 |
|---|---|---|---|
G1 | Gradual decline | 1 | 1 |
G1 | Gradual decline | 2 | 1 |
G1 | Gradual decline | 3 | 1 |
G1 | Gradual decline | 4 | 1 |
G1 | Gradual decline | 5 | 1 |
G1 | Gradual decline | 6 | 1 |
G1 | Gradual decline | 7 | 0.6312 |
G1 | Gradual decline | 8 | 0.7249 |
G1 | Gradual decline | 9 | 0.7569 |
G1 | Gradual decline | 10 | 0.7757 |
G1 | Gradual decline | 11 | 0.775 |
G1 | Gradual decline | 12 | 0.7616 |
G1 | Gradual decline | 13 | 0.7576 |
G1 | Gradual decline | 14 | 0.7797 |
G1 | Gradual decline | 15 | 0.7996 |
G1 | Gradual decline | 16 | 0.8053 |
G1 | Gradual decline | 17 | 0.8002 |
G1 | Gradual decline | 18 | 0.7938 |
G1 | Gradual decline | 19 | 0.7835 |
G1 | Gradual decline | 20 | 0.7856 |
G1 | Gradual decline | 21 | 0.7984 |
G1 | Gradual decline | 22 | 0.8091 |
G1 | Gradual decline | 23 | 0.8244 |
G1 | Gradual decline | 24 | 0.8382 |
G1 | Gradual decline | 25 | 0.8423 |
G1 | Gradual decline | 26 | 0.8298 |
G1 | Gradual decline | 27 | 0.8251 |
G1 | Gradual decline | 28 | 0.8258 |
G1 | Gradual decline | 29 | 0.8312 |
G1 | Gradual decline | 30 | 0.8393 |
G1 | Gradual decline | 31 | 0.8395 |
G1 | Gradual decline | 32 | 0.7981 |
G1 | Gradual decline | 33 | 0.7591 |
G1 | Gradual decline | 34 | 0.7166 |
G1 | Gradual decline | 35 | 0.6676 |
G1 | Gradual decline | 36 | 0.6205 |
G1 | Gradual decline | 37 | 0.5756 |
G1 | Gradual decline | 38 | 0.5428 |
G1 | Gradual decline | 39 | 0.5052 |
G1 | Gradual decline | 40 | 0.4643 |
G1 | Gradual decline | 41 | 0.421 |
G1 | Gradual decline | 42 | 0.3754 |
G1 | Gradual decline | 43 | 0.32 |
G1 | Gradual decline | 44 | 0.2858 |
G1 | Gradual decline | 45 | 0.2579 |
G1 | Gradual decline | 46 | 0.2275 |
G1 | Gradual decline | 47 | 0.198 |
G1 | Gradual decline | 48 | 0.1599 |
G1 | Gradual decline | 49 | 0.1288 |
G1 | Gradual decline | 50 | 0.1047 |
G2 | Early discontinuation | 1 | 1 |
G2 | Early discontinuation | 2 | 1 |
G2 | Early discontinuation | 3 | 1 |
G2 | Early discontinuation | 4 | 1 |
G2 | Early discontinuation | 5 | 1 |
G2 | Early discontinuation | 6 | 1 |
G2 | Early discontinuation | 7 | 0.2045 |
G2 | Early discontinuation | 8 | 0.175 |
G2 | Early discontinuation | 9 | 0.1484 |
G2 | Early discontinuation | 10 | 0.1161 |
G2 | Early discontinuation | 11 | 0.0807 |
G2 | Early discontinuation | 12 | 0.0362 |
G2 | Early discontinuation | 13 | 0.0009 |
G2 | Early discontinuation | 14 | 0.0005 |
G2 | Early discontinuation | 15 | 0.0005 |
G2 | Early discontinuation | 16 | 0.0004 |
G2 | Early discontinuation | 17 | 0.0003 |
G2 | Early discontinuation | 18 | 0.0003 |
G2 | Early discontinuation | 19 | 0.0002 |
G2 | Early discontinuation | 20 | 0.0002 |
G2 | Early discontinuation | 21 | 0.0001 |
G2 | Early discontinuation | 22 | 0.0001 |
G2 | Early discontinuation | 23 | 0.0002 |
G2 | Early discontinuation | 24 | 0.0001 |
G2 | Early discontinuation | 25 | 0.0001 |
G2 | Early discontinuation | 26 | 0.0001 |
G2 | Early discontinuation | 27 | 0.0001 |
G2 | Early discontinuation | 28 | 0 |
G2 | Early discontinuation | 29 | 0.0001 |
G2 | Early discontinuation | 30 | 0.0001 |
G2 | Early discontinuation | 31 | 0.0001 |
G2 | Early discontinuation | 32 | 0.0001 |
G2 | Early discontinuation | 33 | 0.0001 |
G2 | Early discontinuation | 34 | 0.0001 |
G2 | Early discontinuation | 35 | 0.0001 |
G2 | Early discontinuation | 36 | 0.0001 |
G2 | Early discontinuation | 37 | 0 |
G2 | Early discontinuation | 38 | 0 |
G2 | Early discontinuation | 39 | 0.0001 |
G2 | Early discontinuation | 40 | 0.0001 |
G2 | Early discontinuation | 41 | 0 |
G2 | Early discontinuation | 42 | 0 |
G2 | Early discontinuation | 43 | 0 |
G2 | Early discontinuation | 44 | 0 |
G2 | Early discontinuation | 45 | 0 |
G2 | Early discontinuation | 46 | 0 |
G2 | Early discontinuation | 47 | 0 |
G2 | Early discontinuation | 48 | 0 |
G2 | Early discontinuation | 49 | 0 |
G2 | Early discontinuation | 50 | 0 |
BRIDGE Adherence Trajectory Archetypes (aggregate)
Aggregate, group-level adherence trajectory archetypes for lipid-lowering therapy, accompanying the BRIDGE adherence-trajectory scorer. This dataset contains ONLY aggregate group-mean curves and aggregate counts. It contains NO individual patient records: no patient identifiers, no individual rows, no per-individual dates, and no free text that could identify a person.
What this is
The four adherence trajectory groups (G1 gradual decline, G2 early discontinuation, G3 rapid decline, G4 persistent adherence) are the production group-based trajectory model (GBTM) classes. Both the archetype curves and the group prevalences in this dataset are computed on a single consistent source: the BRIDGE development cohort of 50,857 patients. For each group we publish the group-mean monthly adherence (proportion of days covered, PDC), a smoothed display curve, and the group prevalence.
Files
data/archetype_curves_smooth.csvlong formgroup, label, month, smooth_pdc. The smoothed group archetype curve per group, on a monthly grid (months 1 to 50).smooth_pdcis the group-mean adherence, smoothed with a low-order spline for display.data/archetype_empirical_points.csvlong formgroup, label, month, empirical_pdc. The raw empirical group-mean monthly PDC on the same cohort (the points the smooth curve is fitted to).data/group_prevalence.csvgroup, label, prevalence, n_patients. Aggregate group sizes and prevalences. Total cohort N = 50,857; group sizes G1 5,300 (10.4%), G2 20,633 (40.6%), G3 14,654 (28.8%), G4 10,270 (20.2%).data/trajectory_archetypes.jsonthe full aggregate bundle: curves, empirical points, prevalences, group definition, seed and provenance, in one JSON.
Archetype shapes
- G1 gradual decline: high early coverage that holds for years, then erodes in the later windows.
- G2 early discontinuation: coverage collapses within the first year and does not recover.
- G3 rapid decline: sustained coverage for roughly two years, then a steep fall to near zero.
- G4 persistent adherence: high coverage maintained across the whole follow-up.
Privacy
Aggregate group-level data only. There are no patient identifiers, no individual rows, no individual dates, and no free text tied to a person. The only counts are aggregate group sizes. This dataset is safe to publish openly.
Provenance and reproducibility
Built by build_hf_dataset.py, which reads the aggregate curves served by the
BRIDGE Space (themselves computed on the BRIDGE development cohort) and asserts
the output is patient-data-free before writing, including a hard check that the
group sizes sum to the development cohort N = 50,857. seed 42. Real data only; no
fabricated values.
Push to the Hugging Face Hub
You run these (this machine has no Hugging Face auth). Replace <HF_USER>.
huggingface-cli login # paste a write token
# Create a public dataset repo
huggingface-cli repo create bridge-adherence-archetypes --type dataset
# Push this directory (from hf_dataset/)
git clone https://huggingface.co/datasets/<HF_USER>/bridge-adherence-archetypes
cd bridge-adherence-archetypes
cp -r /path/to/hf_dataset/{README.md,data,build_hf_dataset.py} .
git add -A
git commit -m "BRIDGE adherence trajectory archetypes (aggregate, dev cohort N=50857)"
git push
Alternatively, upload the folder directly:
huggingface-cli upload <HF_USER>/bridge-adherence-archetypes \
/path/to/hf_dataset . --repo-type dataset
- Downloads last month
- 24