The Observation Theory EncyclopediaFrom TSKAboutBy kindBy chapterBy Lean fileLedgerProvenance

Youden F1 bound correction

DefinitionThe bound on the best F1 a score can reach at any threshold, from the Youden index, true positive rate minus false positive rate, maximized over thresholds. The bound holds for every score. The form that reads the ceiling from the AUROC holds only for concave ROC curves, with a counterexample at AUROC 0.75. Also Youden.
ExampleA Youden index of 0.5 at the best threshold bounds the F1 the score can reach at any threshold, for every score.
BookData Mining as Observation, draft 0.2, commit f3914f0; entry id youden-f1-bound, kind correction.
Statusno ledger row names this entry. Corrections: 1 item(s), see below.
Defining equation

Book equation 5.4.

Assumptions and scope
  • The Youden form holds for every score with a finite sample.
  • The AUROC form holds for concave ROC curves, and as a pruning bound it is safe only there.
  • Inside a tree search either form bounds the formula itself and not its descendants, so pruning a subtree by its root’s ceiling is a heuristic in both cases.
Prior artnone recorded
Evidencetheory-radar/paper/astar_paper.tex:94-170, theory-radar/paper/theory_radar_paper.tex:290-304, theory-radar/paper/astar_paper.tex:170-200, theory-radar/results/rerun_youden_2026_09_03.json, theory-radar/ERRATA.md, theory-radar/paper/astar_paper.tex:94-110, theory-radar/ERRATA.md:3-75, lean/DataMiningAsObservation/YoudenF1.lean
Reviewedsemantic review 2026-09-06; generated 2026-09-10 from records at the commits on the provenance page.
00.5100.51false positive ratetrue positive rateYouden index, TPR − FPRarea under the curve, AUROCchance is the diagonal
The Youden index bounds the best F1, for every score.

Equation

Book equation 5.4.

\[\begin{gathered} F_1^{\max}\ \le\ \sup_{t\in[J,\,1]}\ \frac{2t\pi}{t\pi+\pi+(t-J)(1-\pi)},\qquad J=\max_{\tau}\big(\mathrm{TPR}-\mathrm{FPR}\big),\qquad \pi=\text{prevalence}, \\ J\le 2A-1\ \text{when the ROC curve is concave, and not in general.} \end{gathered}\]

Conditions

Conditions are curated in entries.toml rather than read from a record.

Ledger

none

First stated

The AUROC form, theorem “AUROC-F1 Bound” in theory-radar/paper/astar_paper.tex and the derivation in theory-radar/src/symbolic_search/_auroc_proof.py, repository DOI 10.5281/zenodo.20660206. The corrected form at theory-radar 1b3d105.

Measurements

Where the book states it Numbers, as the book’s sources table records them Source
chapter 5 section 5.4 Monotone Invariance and AUROC invariance theorems, the AUROC to F1 bound via the Youden index, stated in the source for every ROC curve and corrected in the book to concave curves, with the counterexample at AUROC 0.75 and F1 0.857 theory-radar/paper/astar_paper.tex:94-170; theory-radar/paper/theory_radar_paper.tex:290-304
chapter 5 section 5.4 seven thresholds up to 0.75, eight datasets, 56 conditions, zero admissibility violations, reductions 70 to 99.1 percent theory-radar/paper/astar_paper.tex:170-200
chapter 5 section 5.4 the rerun of 2026-09-03 and 2026-09-04, pre-filter counts 2576 of 8700 and 413 of 1560, ceiling violations 812 and 412, Youden pruning 199 and 38, A* optima 0.958 and 0.694 in strict and fast modes, Youden mode short by 0.006 and 0.002 theory-radar/results/rerun_youden_2026_09_03.json; theory-radar/ERRATA.md
chapter 6 section 6.3 Monotone Invariance Theorem and its proof theory-radar/paper/theory_radar_paper.tex:290-304; theory-radar/paper/astar_paper.tex:94-110

Rerun of the A* paper’s pruning tables by theory-radar/rerun_youden_2026_09_03.py. Part A is depth-2 pairwise enumeration on eight datasets, exhaustive against the AUROC pre-filter at seven thresholds and against Youden pruning. Part B is the depth-3 A* search with 50,000 expansions in strict mode (no pre-filter), the published fast mode (AUROC pre-filter at 0.52), and the youden mode.

Part A, recorded at commit aedc053 of theory-radar.

Dataset, depth 2 pairs Pairs Exhaustive F1 AUROC pre-filter at 0.75, evaluated, admissible Youden pruning, evaluated, admissible Pairs whose F1 exceeds the AUROC ceiling
Circles (2) 20 0.9960 4, yes 7, yes 14
Moons (2) 20 0.8330 2, yes 2, yes 3
Breast Cancer (30) 8700 0.9542 2576, yes 199, yes 812
Wine (13), class 0 vs rest 1560 0.9204 413, yes 38, yes 412
Synthetic (10) 900 0.9556 10, yes 7, yes 18
Synthetic (20) 3800 0.9460 8, yes 8, yes 57
Synthetic (30) 8700 0.9637 8, yes 8, yes 61
Synthetic (40) 15600 0.9425 32, yes 8, yes 125

Part B.

Dataset strict F1 and formula fast F1 youden F1 and formula expansions strict, fast, youden
Circles (2) 0.9965, (x1 hypot x2) 0.9965 0.9965, (x1 hypot x2) 1626, 540, 87
Moons (2) 0.8927, (neg(x1) max x2) 0.8927 0.8927, (neg(x1) max x2) 1626, 1386, 86
Synthetic (20) 1.0000, (x0 hypot x1) 1.0000 1.0000, (x0 hypot x1) 50000, 50000, 465
Breast Cancer (10) 0.9578, ((f1 min f2) + f7) 0.9578 0.9516, ((f3 + f7) min f6) 50000, 50000, 841
Diabetes (8) 0.6937, ((d5 min d7) + d1) 0.6937 0.6921, ((d1 + d7) min d5) 50000, 46307, 192

Failures and corrections

Invariance envelope

none declared

Machine checked

lean/DataMiningAsObservation/YoudenF1.lean, theorems f1_eq, f1_le_of_youden, auroc_eq, youden_eq, youden_exceeds_auroc_form, at observation-data-mining f3914f0; what the check covers is stated in the book’s appendix C.

Used in

Data Mining as Observation chapters 5.

Related

Monotone Invariance Theorem; formula search; safe pruning; Apriori principle.

See also

none

Status

Generated 2026-09-10 by encyclopedia/generate.py; book at observation-data-mining f3914f0; the commit of every record is listed in the encyclopedia’s provenance.

← witnessYouden index →