Concise, single-script pipeline to rank ICU lab tests by value-of-information.
lab_test_ranker.py: downloads PhysioNet/CinC 2012 set-A, preprocesses 48h sequences, trains a dual-head Transformer (mortality + mech-vent within 6h), and produces paper-ready artifacts.
python3 lab_test_ranker.pyNo flags required; configuration is in-script.
lab_rank_results/withsummary.txt,tables/metrics.json,figs/, andbest_model.pt.
- Counterfactual masking utilities (cross-entropy gain per lab).
- Validation-only global scoring to avoid leakage.
- Budget and optional cost-aware evaluation.
- Redundancy audit and lead-time stats.