model-evaluation

Featured

Compute and report task-correct held-out metrics for a trained medical-imaging model — segmentation (Dice plus a boundary metric such as HD95 or NSD, per structure), classification (AUROC plus AUPRC and sensitivity/specificity with bootstrap CIs at the deployment prevalence), detection (FROC or mAP with a stated IoU criterion), interactive/promptable segmentation (the interaction-count, convergence, and per-case-time axes a static Dice omits), or generative/synthesis image evaluation (similarity plus the downstream-task efficacy similarity alone cannot establish) — plus calibration and subgroup slices. Emits a per-case results table that analyze-stats turns into publication tables, and gates the metric choice against Metrics Reloaded, CLAIM 2024, and Park et al. 2024 (no pixel accuracy for segmentation, no bare accuracy under imbalance, no static Dice for an interactive method, no similarity-only claim for a generative model). Numbers come only from executed code, never hand-typed.

AI & Automation 292 stars 71 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
82
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Model-Evaluation Skill ## Purpose This skill makes a medical-imaging model's **held-out evaluation task-correct and honest**: the right metric for the task and the prevalence, with uncertainty, calibration, and subgroup performance. It emits a **per-case metric table** that the publication statistics build on, and gates the metric choice against Metrics Reloaded (Maier-Hein & Reinke et al., *Nat Methods* 2024) and CLAIM 2024. It sits between `/model-validation` (which audits the split / design) and `/analyze-stats` (which owns the comparative inference). It computes the imaging-specific per-case metrics (surface distances, FROC, ECE of a softmax head); `/analyze-stats` owns DeLong / NRI / IDI / decision curves / MRMC. Like `/analyze-stats`, it **generates and executes** code on your predictions — numbers are never hand-typed. ## When to use - You have held-out predictions + ground truth and need task-correct metrics with CIs, calibration, and subgroup slices, plus a per-case table for the manuscript statistics. ## When NOT to use - Auditing the validation design / leakage → `/model-validation`. - DeLong / NRI / IDI / decision curves / MRMC reader study → `/analyze-stats`. - Building / training the model → `/model-scaffold`; LLM / MLLM → `/mllm-eval`. - Figure rendering → `/make-figures`. ## Workflow ### Phase 1 — Fix the analysis unit and the task State the task (segmentation / classification / detection / interactive / generative) and the **analysis unit** the met...

Details

Author
Aperivue
Repository
Aperivue/medsci-skills
Created
5 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category