moncefem commited on
Commit
c89fd0b
·
verified ·
1 Parent(s): a416b1f

Initial dataset upload — Clinical Trials AI 2000-2025, generated by Gemma Miner

Browse files
README.md ADDED
@@ -0,0 +1,517 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ size_categories:
6
+ - 1K<n<10K
7
+ task_categories:
8
+ - tabular-classification
9
+ - tabular-regression
10
+ - text-classification
11
+ tags:
12
+ - clinical-trials
13
+ - healthcare
14
+ - medical-ai
15
+ - artificial-intelligence
16
+ - machine-learning
17
+ - clinicaltrials-gov
18
+ - meta-research
19
+ - regulatory
20
+ - deployment
21
+ pretty_name: Clinical Trials of AI / ML / Digital Health (2000 – 2025)
22
+ configs:
23
+ - config_name: default
24
+ data_files:
25
+ - split: train
26
+ path: final_dataset.parquet
27
+ ---
28
+
29
+ # Clinical Trials of AI / ML / Digital Health — 2000 → 2025
30
+
31
+ > A typed, analysis-ready dataset of **3 000 clinical trials** registered on
32
+ > **ClinicalTrials.gov** that involve artificial intelligence, machine
33
+ > learning, or digital-health software, joined with **30 LLM-extracted
34
+ > analytical variables** (use-type, disease area, sponsor mix, phase,
35
+ > deployment score, evidence-strength score, responsible-AI keyword flags).
36
+ >
37
+ > Generated end-to-end (scrape → typed schema → per-row LLM extraction →
38
+ > export) by **[Gemma Miner](https://github.com/moncifem/gemma-miner)** —
39
+ > an autonomous text-to-dataset agent that turns any website into a
40
+ > research-grade dataset in minutes.
41
+
42
+ ## TL;DR — what this dataset reveals
43
+
44
+ - **AI-related clinical trials grew ~22× in 8 years.** From a steady < 30
45
+ / year through 2017, to **627 trials starting in 2025** alone. The
46
+ inflection is sharp and post-2017 — earlier than the LLM/ChatGPT wave.
47
+ - **The clinical-AI ecosystem is now Chinese-led, not American.** China
48
+ hosts at least one site in **580 trials**, the United States in **500**.
49
+ Italy (201), France (187), Spain (147) and Türkiye (144) round out a
50
+ surprisingly even European top-5.
51
+ - **63 % of trials are diagnostic, predictive, or imaging models** —
52
+ AI in healthcare is overwhelmingly about *deciding* (what is this? what
53
+ will happen?), not *treating* or *acting*.
54
+ - **Only 1 % of trials reach Phase 3 or 4.** 91 % are coded "not
55
+ applicable" — these are mostly observational / device studies, not
56
+ drug-style efficacy RCTs. Translation: medical AI is being *measured*
57
+ much more than it is being *regulatorily approved*.
58
+ - **The evidence pyramid is inverted.** Mean evidence-strength score is
59
+ **0.42** (pilot/feasibility-grade). Real-world deployment score sits at
60
+ **0.63** — many systems are *already in the clinic*, but only a minority
61
+ have pivotal-RCT evidence supporting them.
62
+ - **Responsible-AI discourse is rare.** Only **1.6 %** of trial
63
+ descriptions mention "bias", **2.7 %** mention "privacy", **11.7 %**
64
+ mention "safety". Compare to **86 %** mentioning "AI" generally.
65
+ - **Academic sponsors dominate (86 %)**, industry trails at 15 %. The top
66
+ sponsor — **Mayo Clinic, 42 trials** — has 3× more AI trials than any
67
+ for-profit. AI is being **studied by hospitals, sold by startups**.
68
+ - **4 of the top 5 sponsors are Chinese institutions** (Sun Yat-sen
69
+ University, NTUH, Renmin Wuhan, CUHK), confirming the country-level
70
+ finding at the institutional level.
71
+
72
+ ## Quick start
73
+
74
+ <details>
75
+ <summary><b>📥 Load with 🤗 datasets</b> (click to expand)</summary>
76
+
77
+ ```python
78
+ from datasets import load_dataset
79
+
80
+ ds = load_dataset("moncefem/clinical-trials-ai-2000-2025", split="train")
81
+ print(ds[0])
82
+ print(ds.features)
83
+ ```
84
+ </details>
85
+
86
+ <details>
87
+ <summary><b>🐼 Load with pandas (no `datasets` install needed)</b></summary>
88
+
89
+ ```python
90
+ import pandas as pd
91
+
92
+ df = pd.read_parquet(
93
+ "hf://datasets/moncefem/clinical-trials-ai-2000-2025/final_dataset.parquet"
94
+ )
95
+ print(df.shape) # (3000, 30)
96
+ print(df.dtypes)
97
+ ```
98
+ </details>
99
+
100
+ <details>
101
+ <summary><b>🦆 Load with DuckDB (in-process SQL)</b></summary>
102
+
103
+ ```python
104
+ import duckdb
105
+
106
+ con = duckdb.connect()
107
+ con.execute("""
108
+ CREATE VIEW trials AS
109
+ SELECT * FROM read_parquet(
110
+ 'hf://datasets/moncefem/clinical-trials-ai-2000-2025/final_dataset.parquet'
111
+ )
112
+ """)
113
+ print(con.execute("""
114
+ SELECT ai_use_type, COUNT(*) AS n,
115
+ AVG(real_world_deployment_score) AS deployment,
116
+ AVG(evidence_strength_score) AS evidence
117
+ FROM trials
118
+ WHERE ai_use_type IS NOT NULL
119
+ GROUP BY ai_use_type ORDER BY n DESC
120
+ """).df())
121
+ ```
122
+ </details>
123
+
124
+ ---
125
+
126
+ ## Charts at a glance
127
+
128
+ ### 1. AI in clinical trials is going vertical
129
+
130
+ ![Trials per start year](charts/trials_per_year.png)
131
+
132
+ Until 2017, ClinicalTrials.gov logged fewer than 30 AI-related trials per
133
+ year. Then: 60 (2018) → 89 (2019) → 216 (2020) → 284 (2021) → 344 (2022) →
134
+ 388 (2023) → **529 (2024) → 627 (2025)**.
135
+
136
+ The inflection clearly **predates the generative-AI / LLM wave** — most of
137
+ the growth is driven by classical ML, imaging models, and patient apps,
138
+ not ChatGPT-era systems. (The `has_llm` flag is true on **only 1 of 3000
139
+ trials** in the dataset.)
140
+
141
+ <details>
142
+ <summary><b>🔬 Reproduce this chart</b></summary>
143
+
144
+ ```python
145
+ import pandas as pd, json, matplotlib.pyplot as plt
146
+ df = pd.read_parquet("final_dataset.parquet")
147
+ bronze = [json.loads(l) for l in open("dataset.jsonl", encoding="utf-8")]
148
+ df = df.assign(start_year=[
149
+ int((r.get("start_date") or "")[:4]) if (r.get("start_date") or "")[:4].isdigit() else None
150
+ for r in bronze
151
+ ])
152
+ yearly = df["start_year"].dropna().astype(int).value_counts().sort_index()
153
+ yearly = yearly[(yearly.index >= 2005) & (yearly.index <= 2025)]
154
+ yearly.plot.bar(figsize=(11, 5))
155
+ plt.title("AI-related clinical trials — count by start year"); plt.show()
156
+ ```
157
+ </details>
158
+
159
+ ### 2. AI in medicine is overwhelmingly about *deciding*
160
+
161
+ ![How AI is being used](charts/ai_use_type.png)
162
+
163
+ | Use-type | Trials | Share |
164
+ |---------------------------|--------|-------|
165
+ | Diagnostic | 870 | 31 % |
166
+ | Prediction / prognosis | 612 | 21 % |
167
+ | Medical imaging | 325 | 11 % |
168
+ | Treatment recommendation | 325 | 11 % |
169
+ | Workflow | 156 | 5 % |
170
+ | Patient-facing app | 116 | 4 % |
171
+ | Remote monitoring | 42 | 1 % |
172
+ | Triage | 40 | 1 % |
173
+ | Wearable | 12 | 0 % |
174
+
175
+ Diagnostic + predictive + imaging models account for **63 %** of all
176
+ trials. Patient-facing apps (apps used directly by patients), wearables
177
+ and triage tools together are < 6 %. Read carefully: **clinical AI today
178
+ is a tool for clinicians, not for patients**.
179
+
180
+ ### 3. The disease mix is concentrated
181
+
182
+ ![Therapeutic area distribution](charts/disease_area.png)
183
+
184
+ Of trials with a clear primary disease area, **oncology dominates (22 %)**,
185
+ followed by cardiology (13 %) and neurology (8 %). The "other / mixed"
186
+ bucket holds 46 % — heterogeneous (rare diseases, infectious diseases,
187
+ non-clinical decision support, multi-organ predictions).
188
+
189
+ ### 4. Geographic concentration is striking — and surprising
190
+
191
+ ![Top 15 countries hosting AI-related trials](charts/top_countries.png)
192
+
193
+ **China (580 trials) has overtaken the United States (500)** as the top
194
+ host country in the dataset, despite ClinicalTrials.gov being a US-run
195
+ registry. Europe is highly distributed: Italy, France, Spain, Türkiye,
196
+ the UK and Germany each host between 94 and 201 trials — none individually
197
+ close to China or the US, but the European total is comparable.
198
+
199
+ **96 distinct countries** are represented overall, though only **5.7 %**
200
+ of trials are international (have sites in ≥ 2 countries) — the AI-trial
201
+ ecosystem is mostly single-country.
202
+
203
+ <details>
204
+ <summary><b>🔬 Map your own geographic slice</b></summary>
205
+
206
+ ```python
207
+ import pandas as pd, json
208
+ from collections import Counter
209
+ bronze = [json.loads(l) for l in open("dataset.jsonl", encoding="utf-8")]
210
+ c = Counter()
211
+ for r in bronze:
212
+ if isinstance(r.get("countries"), list):
213
+ for x in set(r["countries"]):
214
+ c[x] += 1
215
+ print(pd.Series(dict(c)).sort_values(ascending=False).head(25))
216
+ ```
217
+ </details>
218
+
219
+ ### 5. Sponsor mix: academic-led, all years
220
+
221
+ ![Sponsor mix per year](charts/sponsor_mix.png)
222
+
223
+ Across every year of the dataset, **academic sponsors outnumber industry
224
+ sponsors ~5-to-1**. Even at peak 2024-2025 volumes, industry-led trials
225
+ remain a minority. This matters for translation: the studies producing
226
+ evidence are *not* the same studies producing commercial products.
227
+
228
+ **Top 5 sponsors** (by AI-related trial count):
229
+
230
+ | Rank | Sponsor | Trials |
231
+ |------|--------------------------------------|--------|
232
+ | 1 | Mayo Clinic (US) | 42 |
233
+ | 2 | Sun Yat-sen University (CN) | 35 |
234
+ | 3 | National Taiwan University Hospital | 29 |
235
+ | 4 | Renmin Hospital of Wuhan Univ. (CN) | 26 |
236
+ | 5 | Chinese University of Hong Kong | 24 |
237
+
238
+ **Four of the top five sponsors are based in China or Taiwan**, with
239
+ only Mayo Clinic representing the US. This reinforces the country-level
240
+ finding above — the AI-trial ecosystem visible on ClinicalTrials.gov is
241
+ already Chinese-led at the institutional level too, not just by site
242
+ count.
243
+
244
+ (see `charts/top_sponsors.png` for the full top 15)
245
+
246
+ ![Top 15 sponsors](charts/top_sponsors.png)
247
+
248
+ ### 6. The maturity grid — most trials are "not applicable"
249
+
250
+ ![Phase × use-type heatmap](charts/maturity_grid.png)
251
+
252
+ For every AI use-type, the modal trial phase is **"not applicable"** —
253
+ because most medical-AI studies are observational or device-software
254
+ studies that don't fit the drug-style Phase 1–4 framework. This is the
255
+ single biggest reason to read deployment / evidence scores instead of
256
+ relying on the phase field.
257
+
258
+ **Only 1 % of trials reach Phase 3 or 4.** The interventional
259
+ drug-style pipeline is not where AI gets evaluated.
260
+
261
+ ### 7. Deployment vs evidence — the inverted pyramid
262
+
263
+ ![Score distributions](charts/scores_distribution.png)
264
+
265
+ Two LLM-derived scores tell different stories:
266
+
267
+ - **Real-world deployment score** (left, mean **0.63**): a bimodal
268
+ distribution clustered around 0.5–0.8. Most trials are studying
269
+ systems that are **already used in clinical workflows** — not pure
270
+ research artifacts.
271
+ - **Evidence-strength score** (right, mean **0.42**): peaks around 0.3
272
+ (pilot / feasibility) with a secondary lump at 0.6. Pivotal-RCT-grade
273
+ evidence (> 0.7) is rare.
274
+
275
+ Combine those: **a lot of clinical AI is being deployed before it's been
276
+ rigorously evaluated** — exactly the gap that motivates ongoing
277
+ regulatory work (FDA SaMD, EU AI Act high-risk medical devices, MDR
278
+ Class IIa/b).
279
+
280
+ ### 8. The "responsible AI" gap
281
+
282
+ ![Tech & responsibility mentions](charts/tech_mentions.png)
283
+
284
+ Of the ten keyword flags extracted from trial descriptions:
285
+
286
+ | Keyword | Trials | Share |
287
+ |------------------|--------|-------|
288
+ | "AI" | 2 578 | 86 % |
289
+ | "algorithm" | 1 403 | 47 % |
290
+ | "software" | 752 | 25 % |
291
+ | "machine learning"| 459 | 15 % |
292
+ | "deep learning" | 385 | 13 % |
293
+ | "safety" | 350 | 12 % |
294
+ | "mobile app" | 330 | 11 % |
295
+ | "wearable" | 168 | 6 % |
296
+ | "privacy" | 80 | 3 % |
297
+ | "bias" | 47 | **2 %** |
298
+
299
+ Responsible-AI vocabulary is **two orders of magnitude rarer than
300
+ "AI" itself** in trial descriptions. Whether this reflects authors not
301
+ *writing* about bias/privacy (they may still test for it) or genuinely
302
+ not *measuring* it is an empirical question this dataset is well-sized
303
+ to study.
304
+
305
+ ---
306
+
307
+ ## Suggested research questions
308
+
309
+ This dataset is sized for fast iteration on questions like:
310
+
311
+ 1. **Has the use-type distribution evolved over time?** Did diagnostic
312
+ models dominate forever, or did patient-apps / wearables rise (or
313
+ fall) in 2022-2025?
314
+ 2. **Does the deployment-vs-evidence gap differ by disease area?** Is
315
+ oncology AI more rigorously evaluated than cardiology AI?
316
+ 3. **Geographic specialisation:** does China focus more on imaging
317
+ trials? Does the US lead in patient-app trials?
318
+ 4. **Sponsor type vs evidence:** are industry-sponsored trials more
319
+ likely to be RCTs than academic ones — or less?
320
+ 5. **Where does responsible-AI vocabulary actually appear?** Is the
321
+ 2 % "bias" share concentrated in a few disease areas (psychiatry,
322
+ dermatology) or evenly distributed?
323
+
324
+ <details>
325
+ <summary><b>🔬 Q1 sketch — use-type drift 2017 → 2025</b></summary>
326
+
327
+ ```python
328
+ import pandas as pd, json
329
+ df = pd.read_parquet("final_dataset.parquet")
330
+ bronze = [json.loads(l) for l in open("dataset.jsonl", encoding="utf-8")]
331
+ df["start_year"] = [
332
+ int((r.get("start_date") or "")[:4]) if (r.get("start_date") or "")[:4].isdigit() else None
333
+ for r in bronze
334
+ ]
335
+ df["era"] = df["start_year"].apply(
336
+ lambda y: "≤2017" if (y or 0) <= 2017
337
+ else ("2018-2021" if (y or 0) <= 2021 else "2022-2025"))
338
+ ct = (df.groupby(["era", "ai_use_type"]).size()
339
+ .unstack(fill_value=0)
340
+ .apply(lambda r: (r / r.sum() * 100).round(1), axis=1))
341
+ print(ct.to_string())
342
+ ```
343
+ </details>
344
+
345
+ <details>
346
+ <summary><b>🔬 Q4 sketch — industry vs academic, evidence quality</b></summary>
347
+
348
+ ```python
349
+ import pandas as pd
350
+ df = pd.read_parquet("final_dataset.parquet")
351
+ df["sponsor_class"] = (
352
+ df["industry_sponsored"].fillna(False).astype(int)*2 +
353
+ df["academic_sponsored"].fillna(False).astype(int)
354
+ ).map({3: "both", 2: "industry only", 1: "academic only", 0: "neither/gov"})
355
+ print(df.groupby("sponsor_class").agg(
356
+ n=("id", "count"),
357
+ rct_pct=("has_randomization", lambda s: (s == True).mean() * 100),
358
+ evidence=("evidence_strength_score", "mean"),
359
+ deployment=("real_world_deployment_score", "mean"),
360
+ ).round(2).to_string())
361
+ ```
362
+ </details>
363
+
364
+ ---
365
+
366
+ ## Codebook (30 silver columns + 20 bronze metadata columns)
367
+
368
+ ### Silver — LLM-extracted analytical variables
369
+
370
+ | Column | Type | Description |
371
+ |---------------------------------|----------|-------------|
372
+ | `id` | string | Deterministic content-hash id |
373
+ | `ai_use_type` | enum | diagnosis · prediction · imaging · treatment_recommendation · workflow · patient_app · remote_monitoring · triage · wearable · other |
374
+ | `disease_area` | enum | oncology · cardiology · neurology · endocrinology · radiology · other |
375
+ | `trial_phase_bucket` | enum | not_applicable · early_phase · phase_1 · phase_2 · phase_3 · phase_4 |
376
+ | `is_completed` | boolean | Trial status = completed |
377
+ | `is_recruiting` | boolean | Trial status = recruiting |
378
+ | `industry_sponsored` | boolean | Has at least one industry sponsor / collaborator |
379
+ | `academic_sponsored` | boolean | Has at least one academic / hospital sponsor |
380
+ | `government_sponsored` | boolean | Has at least one government / NIH-like funder |
381
+ | `has_randomization` | boolean | Description indicates randomisation |
382
+ | `has_blinding` | boolean | Description indicates single / double / triple blinding |
383
+ | `enrollment_bucket` | enum | small · medium · large · very_large |
384
+ | `includes_children` | boolean | Eligibility includes minors |
385
+ | `includes_older_adults` | boolean | Eligibility includes 65 + |
386
+ | `sex_all` | boolean | Eligibility = ALL sexes |
387
+ | `country_count` | integer | # distinct countries hosting sites |
388
+ | `international_trial` | boolean | `country_count` ≥ 2 |
389
+ | `mentions_algorithm` | boolean | Description text contains "algorithm" |
390
+ | `mentions_machine_learning` | boolean | … "machine learning" |
391
+ | `mentions_deep_learning` | boolean | … "deep learning" |
392
+ | `mentions_ai` | boolean | … "AI" / "artificial intelligence" |
393
+ | `mentions_software` | boolean | … "software" |
394
+ | `mentions_mobile_app` | boolean | … "mobile app" |
395
+ | `mentions_wearable` | boolean | … "wearable" |
396
+ | `mentions_bias` | boolean | … "bias" |
397
+ | `mentions_safety` | boolean | … "safety" |
398
+ | `mentions_privacy` | boolean | … "privacy" |
399
+ | `real_world_deployment_score` | float | 0–1 score: how close to clinic deployment (LLM judgement on metadata + summary) |
400
+ | `evidence_strength_score` | float | 0–1 score: how rigorous the planned evidence is (pilot ≈ 0.2 → pivotal RCT ≈ 0.9) |
401
+ | `has_llm` | boolean | Description specifically mentions LLM / GPT / Claude / Gemini |
402
+
403
+ ### Bronze — original ClinicalTrials.gov metadata (joined by row position)
404
+
405
+ `trial_url`, `nct_id`, `title`, `conditions`, `interventions`, `sponsor`,
406
+ `collaborators`, `study_type`, `phase`, `enrollment`, `start_date`,
407
+ `completion_date`, `status`, `countries`, `locations`,
408
+ `eligibility_criteria`, `age_range`, `sex`, `outcomes`, `brief_summary`.
409
+
410
+ (Both layers ship together — the parquet contains the silver; the bronze
411
+ JSONL is in `dataset.jsonl` for the in-repo source.)
412
+
413
+ ---
414
+
415
+ ## How this dataset was built
416
+
417
+ This file was produced by **[Gemma Miner](https://github.com/moncifem/gemma-miner)**
418
+ in a single autonomous agent run:
419
+
420
+ 1. **Harvest** — agent paginated ClinicalTrials.gov's listing API,
421
+ pulling 3 000 AI/ML/digital-health trials with their full metadata.
422
+ 2. **Codebook design** — an LLM proposed 30 typed variables matching the
423
+ analytical brief (use-type taxonomy, disease area, sponsor flags,
424
+ maturity/evidence scores, responsible-AI keyword detectors).
425
+ 3. **Per-row extraction** — for each trial, an LLM read the title +
426
+ conditions + interventions + brief_summary and emitted a JSON object
427
+ conforming to the codebook; the system then deterministically
428
+ coerced values (booleans normalised, ambiguous → null, enums snapped
429
+ to nearest valid value).
430
+ 4. **Export** — parquet + CSV + this card + charts.
431
+
432
+ No fine-tuning. No labelled training data. Reproducible.
433
+
434
+ <details>
435
+ <summary><b>🔬 Rebuild this dataset from scratch</b></summary>
436
+
437
+ ```bash
438
+ pip install gemma-miner # from https://github.com/moncifem/gemma-miner
439
+ export OPENROUTER_API_KEY=... # any OpenAI-compatible provider
440
+ gemma42 # drops into the REPL
441
+
442
+ # in the REPL:
443
+ > Build me a statistics-ready dataset of 3000 AI / ML / digital-health
444
+ clinical trials from ClinicalTrials.gov, with sponsor mix, disease
445
+ area, trial-phase bucket, AI use-type taxonomy, real-world deployment
446
+ score and evidence-strength score.
447
+ ```
448
+ </details>
449
+
450
+ ---
451
+
452
+ ## Limitations & honest caveats
453
+
454
+ - **LLM-derived columns** were extracted from each trial's
455
+ ClinicalTrials.gov metadata + `brief_summary` (≤ 2 KB of English text).
456
+ A `true` flag is high-precision; a `null` / `false` means the summary
457
+ didn't mention the concept — **not** that the trial doesn't address it.
458
+ - **Scores are heuristics.** `real_world_deployment_score` and
459
+ `evidence_strength_score` are calibrated against the LLM's prior on
460
+ what a "deployed" or "rigorous" trial looks like — they're useful for
461
+ *ranking* trials within the dataset, not as absolute ground-truth.
462
+ - **Sample = AI-related trials**, not all clinical trials. The sample
463
+ was selected by the underlying ClinicalTrials.gov search; comparisons
464
+ to non-AI trials require a separate dataset.
465
+ - **Date parsing**: ClinicalTrials.gov mixes `YYYY-MM-DD`, `YYYY-MM`
466
+ and `YYYY` strings. The `start_year` field is robust but you should
467
+ not assume month-level precision.
468
+ - **Bronze ↔ silver join is by ROW POSITION**, not id — the silver
469
+ table's `id` is a content hash and does not appear in bronze. The two
470
+ files are aligned 1-to-1 (both 3000 rows).
471
+ - **No de-duplication across protocol amendments.** A few NCT IDs may
472
+ appear with multiple versions; we keep the first occurrence.
473
+ - **The `phase` field is messy.** ClinicalTrials.gov's "NA"/"N/A" labels
474
+ are common for device studies; this is why `trial_phase_bucket`
475
+ collapses them into `not_applicable` rather than a numeric phase.
476
+
477
+ ---
478
+
479
+ ## Citation
480
+
481
+ ```bibtex
482
+ @misc{elmouden_clinical_trials_ai_2025,
483
+ title = {Clinical Trials of AI / ML / Digital Health (2000-2025)},
484
+ author = {EL-Mouden, Moncif},
485
+ year = {2025},
486
+ note = {Generated by Gemma Miner from https://clinicaltrials.gov},
487
+ url = {https://huggingface.co/datasets/moncefem/clinical-trials-ai-2000-2025},
488
+ }
489
+
490
+ @software{elmouden_gemma_miner_2025,
491
+ title = {Gemma Miner: an autonomous text-to-dataset agent},
492
+ author = {EL-Mouden, Moncif and contributors},
493
+ year = {2025},
494
+ url = {https://github.com/moncifem/gemma-miner},
495
+ }
496
+ ```
497
+
498
+ Underlying trial records are published by the U.S. National Library of
499
+ Medicine on <https://clinicaltrials.gov>; consult those records for the
500
+ authoritative protocols and outcomes.
501
+
502
+ ## Author & links
503
+
504
+ - 👤 **Moncif EL-Mouden** — [🤗 huggingface.co/moncefem](https://huggingface.co/moncefem)
505
+ - 🤖 **Gemma Miner** (the generator) — <https://github.com/moncifem/gemma-miner>
506
+ - 🇺🇸 **Source** — <https://clinicaltrials.gov>
507
+
508
+ ## License
509
+
510
+ [**Apache License 2.0**](https://www.apache.org/licenses/LICENSE-2.0).
511
+
512
+ Please attribute:
513
+
514
+ - **ClinicalTrials.gov** (U.S. National Library of Medicine) as the
515
+ source of the underlying trial records, and
516
+ - **Gemma Miner** (<https://github.com/moncifem/gemma-miner>) as the
517
+ dataset generator.
_make_charts.py ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Deep analysis of the Clinical Trials AI dataset.
2
+
3
+ Joins bronze (ClinicalTrials.gov metadata) with silver (LLM-extracted typed
4
+ variables) by row position and produces 9 charts + insights.json.
5
+ """
6
+ from __future__ import annotations
7
+
8
+ import json
9
+ from collections import Counter
10
+ from pathlib import Path
11
+
12
+ import matplotlib
13
+
14
+ matplotlib.use("Agg")
15
+ import matplotlib.pyplot as plt
16
+ import numpy as np
17
+ import pandas as pd
18
+
19
+ HERE = Path(__file__).parent
20
+ CHARTS = HERE / "charts"
21
+ CHARTS.mkdir(exist_ok=True)
22
+
23
+ plt.rcParams.update({
24
+ "figure.dpi": 130, "savefig.dpi": 130, "savefig.bbox": "tight",
25
+ "font.family": "DejaVu Sans",
26
+ "axes.spines.top": False, "axes.spines.right": False,
27
+ "axes.grid": True, "axes.grid.axis": "y",
28
+ "grid.color": "#e5e7eb", "grid.linestyle": "-", "grid.linewidth": 0.8,
29
+ "axes.titlesize": 14, "axes.titleweight": "bold", "axes.labelsize": 11,
30
+ })
31
+
32
+ ACCENT = "#2563eb"
33
+ ACCENT_2 = "#dc2626"
34
+ ACCENT_3 = "#16a34a"
35
+ ACCENT_4 = "#f59e0b"
36
+ NEUTRAL = "#6b7280"
37
+
38
+ # ── Load + JOIN ────────────────────────────────────────────────────────────
39
+ silver = pd.read_parquet(HERE / "final_dataset.parquet")
40
+ bronze_path = HERE.parent / "dataset.jsonl"
41
+ bronze_rows = [json.loads(l) for l in bronze_path.open("r", encoding="utf-8")]
42
+ bronze = pd.DataFrame(bronze_rows)
43
+ print(f"silver: {len(silver)} × {len(silver.columns)}")
44
+ print(f"bronze: {len(bronze)} × {len(bronze.columns)}")
45
+ assert len(silver) == len(bronze)
46
+ df = pd.concat([bronze.reset_index(drop=True), silver.reset_index(drop=True)], axis=1)
47
+ df = df.loc[:, ~df.columns.duplicated()]
48
+ print(f"joined: {len(df)} × {len(df.columns)}")
49
+
50
+
51
+ def _year(s):
52
+ if not isinstance(s, str):
53
+ return None
54
+ s = s.strip()
55
+ if len(s) >= 4 and s[:4].isdigit():
56
+ try:
57
+ y = int(s[:4])
58
+ if 1990 <= y <= 2030:
59
+ return y
60
+ except ValueError:
61
+ pass
62
+ return None
63
+
64
+
65
+ df["start_year"] = df["start_date"].apply(_year)
66
+
67
+ # Friendly maps
68
+ USE_MAP = {
69
+ "diagnosis": "Diagnostic",
70
+ "prediction": "Prediction / prognosis",
71
+ "imaging": "Medical imaging",
72
+ "treatment_recommendation": "Treatment recommendation",
73
+ "workflow": "Clinical workflow",
74
+ "patient_app": "Patient-facing app",
75
+ "remote_monitoring": "Remote monitoring",
76
+ "triage": "Triage",
77
+ "wearable": "Wearable",
78
+ "other": "Other",
79
+ }
80
+ DISEASE_MAP = {
81
+ "oncology": "Oncology",
82
+ "cardiology": "Cardiology",
83
+ "neurology": "Neurology",
84
+ "endocrinology": "Endocrinology",
85
+ "radiology": "Radiology",
86
+ "other": "Other / mixed",
87
+ }
88
+
89
+ # ── 1. Trials per start year ───────────────────────────────────────────────
90
+ yearly = df["start_year"].dropna().astype(int).value_counts().sort_index()
91
+ yearly = yearly[(yearly.index >= 2005) & (yearly.index <= 2025)]
92
+ fig, ax = plt.subplots(figsize=(11, 5))
93
+ ax.bar(yearly.index, yearly.values, color=ACCENT)
94
+ ax.set_title("AI-related clinical trials — count by start year")
95
+ ax.set_xlabel("Start year"); ax.set_ylabel("Trials started")
96
+ ax.set_xticks(yearly.index); ax.tick_params(axis="x", rotation=45)
97
+ peak_yr, peak_n = yearly.idxmax(), yearly.max()
98
+ ax.annotate(f"peak: {peak_yr}, {peak_n} trials",
99
+ xy=(peak_yr, peak_n), xytext=(peak_yr - 4, peak_n - 30),
100
+ arrowprops=dict(arrowstyle="->", color=NEUTRAL),
101
+ fontsize=10, color=NEUTRAL)
102
+ fig.savefig(CHARTS / "trials_per_year.png"); plt.close(fig)
103
+ print(" ✓ trials_per_year.png")
104
+
105
+ # ── 2. AI use-type taxonomy ───────────────────────────────────────────────
106
+ use = df["ai_use_type"].dropna().value_counts()
107
+ use = use.rename(index=lambda x: USE_MAP.get(x, x))
108
+ fig, ax = plt.subplots(figsize=(9, 5))
109
+ bars = ax.barh(use.index[::-1], use.values[::-1], color=ACCENT)
110
+ ax.set_title("How AI is being used in clinical trials")
111
+ ax.set_xlabel(f"Number of trials (n={int(use.sum())})")
112
+ ax.grid(axis="y", visible=False); ax.grid(axis="x", visible=True)
113
+ for bar, val in zip(bars, use.values[::-1]):
114
+ ax.text(val + 8, bar.get_y() + bar.get_height() / 2,
115
+ f"{val} ({val / use.sum():.0%})",
116
+ va="center", fontsize=9, color=NEUTRAL)
117
+ fig.savefig(CHARTS / "ai_use_type.png"); plt.close(fig)
118
+ print(" ✓ ai_use_type.png")
119
+
120
+ # ── 3. Disease area ────────────────────────────────────────────────────────
121
+ disease = df["disease_area"].dropna().value_counts()
122
+ disease = disease.rename(index=lambda x: DISEASE_MAP.get(x, x))
123
+ fig, ax = plt.subplots(figsize=(9, 4.5))
124
+ bars = ax.barh(disease.index[::-1], disease.values[::-1], color=ACCENT_3)
125
+ ax.set_title("Therapeutic area distribution")
126
+ ax.set_xlabel(f"Number of trials (n={int(disease.sum())})")
127
+ ax.grid(axis="y", visible=False); ax.grid(axis="x", visible=True)
128
+ for bar, val in zip(bars, disease.values[::-1]):
129
+ ax.text(val + 8, bar.get_y() + bar.get_height() / 2,
130
+ f"{val} ({val / disease.sum():.0%})",
131
+ va="center", fontsize=9, color=NEUTRAL)
132
+ fig.savefig(CHARTS / "disease_area.png"); plt.close(fig)
133
+ print(" ✓ disease_area.png")
134
+
135
+ # ── 4. Sponsor mix over time ──────────────────────────────────────────────
136
+ years = sorted(int(y) for y in df["start_year"].dropna().unique() if 2010 <= y <= 2024)
137
+ ind, aca, gov = [], [], []
138
+ for y in years:
139
+ sub = df[df["start_year"] == y]
140
+ ind.append(int((sub["industry_sponsored"] == True).sum()))
141
+ aca.append(int((sub["academic_sponsored"] == True).sum()))
142
+ gov.append(int((sub["government_sponsored"] == True).sum()))
143
+ fig, ax = plt.subplots(figsize=(11, 5))
144
+ ax.bar(years, aca, label="academic", color=ACCENT)
145
+ ax.bar(years, ind, bottom=aca, label="industry", color=ACCENT_2)
146
+ ax.bar(years, gov, bottom=[a + i for a, i in zip(aca, ind)],
147
+ label="government", color=ACCENT_4)
148
+ ax.set_title("Sponsor mix per year (trials may have multiple sponsor types)")
149
+ ax.set_xlabel("Start year"); ax.set_ylabel("Trials")
150
+ ax.set_xticks(years); ax.tick_params(axis="x", rotation=45)
151
+ ax.legend(frameon=False, loc="upper left")
152
+ fig.savefig(CHARTS / "sponsor_mix.png"); plt.close(fig)
153
+ print(" ✓ sponsor_mix.png")
154
+
155
+ # ── 5. Phase × AI use heatmap ──────────────────────────────────────────────
156
+ phase_order = ["not_applicable", "early_phase", "phase_1", "phase_2", "phase_3", "phase_4"]
157
+ use_top = list(df["ai_use_type"].value_counts().head(7).index)
158
+ pt = (
159
+ df[df["ai_use_type"].isin(use_top) & df["trial_phase_bucket"].isin(phase_order)]
160
+ .groupby(["ai_use_type", "trial_phase_bucket"]).size()
161
+ .unstack(fill_value=0)
162
+ .reindex(index=use_top, columns=phase_order, fill_value=0)
163
+ )
164
+ fig, ax = plt.subplots(figsize=(9, 5))
165
+ im = ax.imshow(pt.values, aspect="auto", cmap="Blues")
166
+ ax.set_xticks(range(len(phase_order)))
167
+ ax.set_xticklabels([p.replace("_", " ") for p in phase_order], rotation=30, ha="right")
168
+ ax.set_yticks(range(len(use_top)))
169
+ ax.set_yticklabels([USE_MAP.get(u, u) for u in use_top])
170
+ ax.set_title("Trial phase × AI use-type (counts)")
171
+ for i in range(len(use_top)):
172
+ for j in range(len(phase_order)):
173
+ v = pt.values[i, j]
174
+ if v > 0:
175
+ ax.text(j, i, int(v), ha="center", va="center",
176
+ color="white" if v > pt.values.max() * 0.5 else "black",
177
+ fontsize=9)
178
+ ax.grid(False)
179
+ fig.colorbar(im, ax=ax, label="trials")
180
+ fig.savefig(CHARTS / "maturity_grid.png"); plt.close(fig)
181
+ print(" ✓ maturity_grid.png")
182
+
183
+ # ── 6. Score distributions ─────────────────────────────────────────────────
184
+ ds = df["real_world_deployment_score"].dropna()
185
+ es = df["evidence_strength_score"].dropna()
186
+ fig, axes = plt.subplots(1, 2, figsize=(11, 4.5))
187
+ axes[0].hist(ds, bins=20, color=ACCENT, edgecolor="white")
188
+ axes[0].set_title("Real-world deployment score")
189
+ axes[0].set_xlabel("0 = research artifact · 1 = deployed in clinic")
190
+ axes[0].set_ylabel("Trials")
191
+ axes[0].axvline(ds.mean(), color=ACCENT_2, linewidth=2, label=f"mean {ds.mean():.2f}")
192
+ axes[0].axvline(ds.median(), color="black", linewidth=1.5, linestyle="--",
193
+ label=f"median {ds.median():.2f}")
194
+ axes[0].legend(frameon=False)
195
+ axes[1].hist(es, bins=20, color=ACCENT_3, edgecolor="white")
196
+ axes[1].set_title("Evidence-strength score")
197
+ axes[1].set_xlabel("0 = pilot/feasibility · 1 = pivotal RCT")
198
+ axes[1].set_ylabel("Trials")
199
+ axes[1].axvline(es.mean(), color=ACCENT_2, linewidth=2, label=f"mean {es.mean():.2f}")
200
+ axes[1].axvline(es.median(), color="black", linewidth=1.5, linestyle="--",
201
+ label=f"median {es.median():.2f}")
202
+ axes[1].legend(frameon=False)
203
+ fig.savefig(CHARTS / "scores_distribution.png"); plt.close(fig)
204
+ print(" ✓ scores_distribution.png")
205
+
206
+ # ── 7. Tech mentions ──────────────────────────────────────────────────────
207
+ mention_cols = [
208
+ "mentions_ai", "mentions_algorithm", "mentions_machine_learning",
209
+ "mentions_deep_learning", "mentions_software", "mentions_mobile_app",
210
+ "mentions_wearable", "mentions_safety", "mentions_bias", "mentions_privacy",
211
+ ]
212
+ m_counts = {c: int((df[c] == True).sum()) for c in mention_cols}
213
+ m_counts = dict(sorted(m_counts.items(), key=lambda kv: kv[1]))
214
+ pretty_m = {
215
+ "mentions_ai": '"AI"',
216
+ "mentions_algorithm": '"algorithm"',
217
+ "mentions_machine_learning": '"machine learning"',
218
+ "mentions_deep_learning": '"deep learning"',
219
+ "mentions_software": '"software"',
220
+ "mentions_mobile_app": '"mobile app"',
221
+ "mentions_wearable": '"wearable"',
222
+ "mentions_safety": '"safety"',
223
+ "mentions_bias": '"bias"',
224
+ "mentions_privacy": '"privacy"',
225
+ }
226
+ labels = [pretty_m.get(k, k) for k in m_counts]
227
+ vals = list(m_counts.values())
228
+ fig, ax = plt.subplots(figsize=(9, 5))
229
+ bars = ax.barh(labels, vals, color=ACCENT)
230
+ ax.set_title("Tech & responsibility keywords mentioned in trial descriptions")
231
+ ax.set_xlabel(f"# trials mentioning the term (n={len(df)})")
232
+ ax.grid(axis="y", visible=False); ax.grid(axis="x", visible=True)
233
+ for bar, v in zip(bars, vals):
234
+ ax.text(v + 20, bar.get_y() + bar.get_height() / 2,
235
+ f"{v} ({v / len(df):.0%})",
236
+ va="center", fontsize=9, color=NEUTRAL)
237
+ fig.savefig(CHARTS / "tech_mentions.png"); plt.close(fig)
238
+ print(" ✓ tech_mentions.png")
239
+
240
+ # ── 8. Top sponsors ────────────────────────────────────────────────────────
241
+ sponsors = df["sponsor"].dropna().value_counts().head(15)
242
+ fig, ax = plt.subplots(figsize=(10, 5.5))
243
+ bars = ax.barh(sponsors.index[::-1], sponsors.values[::-1], color=ACCENT)
244
+ ax.set_title("Top 15 sponsors by AI-related trial count")
245
+ ax.set_xlabel("Trials")
246
+ ax.grid(axis="y", visible=False); ax.grid(axis="x", visible=True)
247
+ for bar, val in zip(bars, sponsors.values[::-1]):
248
+ ax.text(val + 1, bar.get_y() + bar.get_height() / 2, str(int(val)),
249
+ va="center", fontsize=9, color=NEUTRAL)
250
+ fig.savefig(CHARTS / "top_sponsors.png"); plt.close(fig)
251
+ print(" ✓ top_sponsors.png")
252
+
253
+ # ── 9. Top countries ──────────────────────────────────────────────────────
254
+ country_counter: Counter = Counter()
255
+ for cs in df["countries"].dropna():
256
+ if isinstance(cs, list):
257
+ seen = set()
258
+ for c in cs:
259
+ if isinstance(c, str) and c not in seen:
260
+ country_counter[c] += 1
261
+ seen.add(c)
262
+ top_c = country_counter.most_common(15)
263
+ fig, ax = plt.subplots(figsize=(10, 5.5))
264
+ labels = [c for c, _ in top_c][::-1]
265
+ vals = [n for _, n in top_c][::-1]
266
+ bars = ax.barh(labels, vals, color=ACCENT_3)
267
+ ax.set_title("Top 15 countries hosting AI-related trials")
268
+ ax.set_xlabel("Trials with at least one site in this country")
269
+ ax.grid(axis="y", visible=False); ax.grid(axis="x", visible=True)
270
+ for bar, val in zip(bars, vals):
271
+ ax.text(val + 5, bar.get_y() + bar.get_height() / 2, str(int(val)),
272
+ va="center", fontsize=9, color=NEUTRAL)
273
+ fig.savefig(CHARTS / "top_countries.png"); plt.close(fig)
274
+ print(" ✓ top_countries.png")
275
+
276
+ # ── insights ───────────────────────────────────────────────────────────────
277
+ insights = {
278
+ "n_trials": int(len(df)),
279
+ "year_range": [int(df["start_year"].dropna().astype(int).min()),
280
+ int(df["start_year"].dropna().astype(int).max())],
281
+ "year_with_most": [int(peak_yr), int(peak_n)],
282
+ "trials_2020_2024": int(((df["start_year"] >= 2020) & (df["start_year"] <= 2024)).sum()),
283
+ "share_diagnostic_or_prediction_pct": round(
284
+ 100 * (df["ai_use_type"].isin(["diagnosis", "prediction", "imaging"])).sum() / len(df), 1),
285
+ "share_phase_3_4_pct": round(
286
+ 100 * df["trial_phase_bucket"].isin(["phase_3", "phase_4"]).sum() / len(df), 1),
287
+ "share_not_applicable_phase_pct": round(
288
+ 100 * (df["trial_phase_bucket"] == "not_applicable").sum() / len(df), 1),
289
+ "share_with_randomization_pct": round(
290
+ 100 * (df["has_randomization"] == True).sum() / len(df), 1),
291
+ "share_industry_sponsored_pct": round(
292
+ 100 * (df["industry_sponsored"] == True).sum() / len(df), 1),
293
+ "share_academic_sponsored_pct": round(
294
+ 100 * (df["academic_sponsored"] == True).sum() / len(df), 1),
295
+ "share_international_pct": round(
296
+ 100 * (df["country_count"] >= 2).sum() / len(df), 1),
297
+ "mean_deployment_score": round(float(ds.mean()), 3),
298
+ "mean_evidence_score": round(float(es.mean()), 3),
299
+ "share_mentions_bias_pct": round(100 * m_counts["mentions_bias"] / len(df), 1),
300
+ "share_mentions_safety_pct": round(100 * m_counts["mentions_safety"] / len(df), 1),
301
+ "share_mentions_privacy_pct": round(100 * m_counts["mentions_privacy"] / len(df), 1),
302
+ "top_oncology_pct": round(100 * (df["disease_area"] == "oncology").sum() / len(df), 1),
303
+ "top_sponsor": str(sponsors.index[0]),
304
+ "top_sponsor_count": int(sponsors.values[0]),
305
+ "top_country": top_c[0][0],
306
+ "top_country_count": int(top_c[0][1]),
307
+ "n_countries_total": int(len(country_counter)),
308
+ }
309
+ (HERE / "insights.json").write_text(
310
+ json.dumps(insights, indent=2, ensure_ascii=False, default=str)
311
+ )
312
+ print("\ninsights:", json.dumps(insights, indent=2, default=str))
charts/ai_use_type.png ADDED

Git LFS Details

  • SHA256: 2989d3c7ef9df91b05ab1b7e1836dbcbdb9d4f6c4c871cae231ca34f6536a45b
  • Pointer size: 130 Bytes
  • Size of remote file: 57 kB
charts/disease_area.png ADDED

Git LFS Details

  • SHA256: 2dc731afba7d6a1c4dab11a04c9e122d8ab98832721fd063fd4d1812ee7d2be0
  • Pointer size: 130 Bytes
  • Size of remote file: 39.9 kB
charts/maturity_grid.png ADDED

Git LFS Details

  • SHA256: cd93c4dc828b5e0d460e9e1344380796fbfc02275aefe81222fddb6357dbfad4
  • Pointer size: 130 Bytes
  • Size of remote file: 58.2 kB
charts/scores_distribution.png ADDED

Git LFS Details

  • SHA256: b12cb1d19a8711525314213b81194320352a85e904583db8448cc4f2b64c23d0
  • Pointer size: 130 Bytes
  • Size of remote file: 47.4 kB
charts/sponsor_mix.png ADDED

Git LFS Details

  • SHA256: 288933e6d4b74cdd594dd533119c96cb6408134c3a17db558171444dee56aec1
  • Pointer size: 130 Bytes
  • Size of remote file: 36.9 kB
charts/tech_mentions.png ADDED

Git LFS Details

  • SHA256: ccb8cab67010633fe061af5840e6932cea0940d2257ba73042a8cbe9ca4e20fc
  • Pointer size: 130 Bytes
  • Size of remote file: 57.4 kB
charts/top_countries.png ADDED

Git LFS Details

  • SHA256: cbca221cb93b9eb871b69ec1df5fe1df366aebb471744dbeeee9c77e4e909808
  • Pointer size: 130 Bytes
  • Size of remote file: 53.4 kB
charts/top_sponsors.png ADDED

Git LFS Details

  • SHA256: 9bf7f0178304eb02924fe1271353d0f3227aeba9cecbaea8a5ff18a3d8f85250
  • Pointer size: 130 Bytes
  • Size of remote file: 85.5 kB
charts/trials_per_year.png ADDED

Git LFS Details

  • SHA256: fe7fc6ce64f8cd83b6b15b6f1b2a49838cfdb10288923c669888d6c828515bf1
  • Pointer size: 130 Bytes
  • Size of remote file: 37.5 kB
codebook.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Codebook: Clinical Trials AI
2
+
3
+ - **id**: Extracted variable
4
+ - **ai_use_type**: Extracted variable
5
+ - **disease_area**: Extracted variable
6
+ - **trial_phase_bucket**: Extracted variable
7
+ - **is_completed**: Extracted variable
8
+ - **is_recruiting**: Extracted variable
9
+ - **industry_sponsored**: Extracted variable
10
+ - **academic_sponsored**: Extracted variable
11
+ - **government_sponsored**: Extracted variable
12
+ - **has_randomization**: Extracted variable
13
+ - **has_blinding**: Extracted variable
14
+ - **enrollment_bucket**: Extracted variable
15
+ - **includes_children**: Extracted variable
16
+ - **includes_older_adults**: Extracted variable
17
+ - **sex_all**: Extracted variable
18
+ - **country_count**: Extracted variable
19
+ - **international_trial**: Extracted variable
20
+ - **mentions_algorithm**: Extracted variable
21
+ - **mentions_machine_learning**: Extracted variable
22
+ - **mentions_deep_learning**: Extracted variable
23
+ - **mentions_ai**: Extracted variable
24
+ - **mentions_software**: Extracted variable
25
+ - **mentions_mobile_app**: Extracted variable
26
+ - **mentions_wearable**: Extracted variable
27
+ - **mentions_bias**: Extracted variable
28
+ - **mentions_safety**: Extracted variable
29
+ - **mentions_privacy**: Extracted variable
30
+ - **real_world_deployment_score**: Extracted variable
31
+ - **evidence_strength_score**: Extracted variable
codebook.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d509ae87deb2c14fc3fdb05778c685a6222cd6c87144a557d85121341b98b0d
3
+ size 3726300
final_dataset.csv ADDED
The diff for this file is too large to render. See raw diff
 
final_dataset.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
final_dataset.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c0be8eb0adb3ae234a8e0acca1f2d50b0fa50bb0e8e05faea3720758c08da64
3
+ size 84627
insights.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_trials": 3000,
3
+ "year_range": [
4
+ 2000,
5
+ 2028
6
+ ],
7
+ "year_with_most": [
8
+ 2025,
9
+ 627
10
+ ],
11
+ "trials_2020_2024": 1761,
12
+ "share_diagnostic_or_prediction_pct": 60.2,
13
+ "share_phase_3_4_pct": 1.0,
14
+ "share_not_applicable_phase_pct": 90.6,
15
+ "share_with_randomization_pct": 22.2,
16
+ "share_industry_sponsored_pct": 15.0,
17
+ "share_academic_sponsored_pct": 85.7,
18
+ "share_international_pct": 5.7,
19
+ "mean_deployment_score": 0.632,
20
+ "mean_evidence_score": 0.415,
21
+ "share_mentions_bias_pct": 1.6,
22
+ "share_mentions_safety_pct": 11.7,
23
+ "share_mentions_privacy_pct": 2.7,
24
+ "top_oncology_pct": 22.2,
25
+ "top_sponsor": "Mayo Clinic",
26
+ "top_sponsor_count": 42,
27
+ "top_country": "China",
28
+ "top_country_count": 580,
29
+ "n_countries_total": 96
30
+ }
report.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # How much medical AI is actually being clinically tested?
2
+
3
+ This dataset contains 3000 clinical trials related to AI, machine learning, and digital health. Analysis shows a significant focus on diagnostic algorithms and patient-facing applications.