PI Prob: A risk prediction and clinical guidance system for evaluating patients with recurrent infections
- PMID: 33591972
- PMCID: PMC7886140
- DOI: 10.1371/journal.pone.0237285
PI Prob: A risk prediction and clinical guidance system for evaluating patients with recurrent infections
Abstract
Background: Primary immunodeficiency diseases represent an expanding set of heterogeneous conditions which are difficult to recognize clinically. Diagnostic rates outside of the newborn period have not changed appreciably. This concern underscores a need for novel methods of disease detection.
Objective: We built a Bayesian network to provide real-time risk assessment about primary immunodeficiency and to facilitate prescriptive analytics for initiating the most appropriate diagnostic work up. Our goal is to improve diagnostic rates for primary immunodeficiency and shorten time to diagnosis. We aimed to use readily available health record data and a small training dataset to prove utility in diagnosing patients with relatively rare features.
Methods: We extracted data from the Texas Children's Hospital electronic health record on a large population of primary immunodeficiency patients (n = 1762) and appropriately-matched set of controls (n = 1698). From the cohorts, clinically relevant prior probabilities were calculated enabling construction of a Bayesian network probabilistic model(PI Prob). Our model was constructed with clinical-immunology domain expertise, trained on a balanced cohort of 100 cases-controls and validated on an unseen balanced cohort of 150 cases-controls. Performance was measured by area under the receiver operator characteristic curve (AUROC). We also compared our network performance to classic machine learning model performance on the same dataset.
Results: PI Prob was accurate in classifying immunodeficiency patients from controls (AUROC = 0.945; p<0.0001) at a risk threshold of ≥6%. Additionally, the model was 89% accurate for categorizing validation cohort members into appropriate International Union of Immunological Societies diagnostic categories. Our network outperformed 3 other machine learning models and provides superior transparency with a prescriptive output element.
Conclusion: Artificial intelligence methods can classify risk for primary immunodeficiency and guide management. PI Prob enables accurate, objective decision making about risk and guides the user towards the appropriate diagnostic evaluation for patients with recurrent infections. Probabilistic models can be trained with small datasets underscoring their utility for rare disease detection given appropriate domain expertise for feature selection and network construction.
Conflict of interest statement
GC, TM, LW, AK, LMN, FOS, IKC and KR have nothing to disclose. NLR received consulting fees for scientific advisory activities with Takeda Pharmaceuticals, Horizon Therapeutics and CSL Behring. He also receives royalties from Wolters Kluwer for topic contribution to UpToDate. This does not alter our adherence to PLOS ONE policies on sharing data and materials.
Figures





Similar articles
-
Dynamic ElecTronic hEalth reCord deTection (DETECT) of individuals at risk of a first episode of psychosis: a case-control development and validation study.Lancet Digit Health. 2020 May;2(5):e229-e239. doi: 10.1016/S2589-7500(20)30024-8. Epub 2020 Mar 26. Lancet Digit Health. 2020. PMID: 33328055
-
Dynamic and explainable machine learning prediction of mortality in patients in the intensive care unit: a retrospective study of high-frequency data in electronic patient records.Lancet Digit Health. 2020 Apr;2(4):e179-e191. doi: 10.1016/S2589-7500(20)30018-2. Epub 2020 Mar 12. Lancet Digit Health. 2020. PMID: 33328078
-
Machine Learning Model for Risk Prediction of Community-Acquired Acute Kidney Injury Hospitalization From Electronic Health Records: Development and Validation Study.J Med Internet Res. 2020 Aug 4;22(8):e16903. doi: 10.2196/16903. J Med Internet Res. 2020. PMID: 32749223 Free PMC article.
-
A Toolkit and Framework for Optimal Laboratory Evaluation of Individuals with Suspected Primary Immunodeficiency.J Allergy Clin Immunol Pract. 2021 Sep;9(9):3293-3307.e6. doi: 10.1016/j.jaip.2021.05.004. Epub 2021 May 24. J Allergy Clin Immunol Pract. 2021. PMID: 34033983 Review.
-
CORR Synthesis: When Should We Be Skeptical of Clinical Prediction Models?Clin Orthop Relat Res. 2020 Dec;478(12):2722-2728. doi: 10.1097/CORR.0000000000001367. Clin Orthop Relat Res. 2020. PMID: 32667756 Free PMC article. Review. No abstract available.
Cited by
-
Piloting an automated query and scoring system to facilitate APDS patient identification from health systems.Front Immunol. 2025 Jan 21;15:1508780. doi: 10.3389/fimmu.2024.1508780. eCollection 2024. Front Immunol. 2025. PMID: 39906746 Free PMC article.
-
Large scale causal modeling to identify adults at risk for combined and common variable immunodeficiencies.NPJ Digit Med. 2025 Jun 14;8(1):361. doi: 10.1038/s41746-025-01761-5. NPJ Digit Med. 2025. PMID: 40517144 Free PMC article.
-
Proceedings from the inaugural Artificial Intelligence in Primary Immune Deficiencies (AIPID) conference.J Allergy Clin Immunol. 2024 Mar;153(3):637-642. doi: 10.1016/j.jaci.2024.01.002. Epub 2024 Jan 13. J Allergy Clin Immunol. 2024. PMID: 38224784 Free PMC article.
-
Large-scale deep learning analysis to identify adult patients at risk for combined and common variable immunodeficiencies.Commun Med (Lond). 2023 Dec 20;3(1):189. doi: 10.1038/s43856-023-00412-8. Commun Med (Lond). 2023. PMID: 38123736 Free PMC article.
-
Clinical Validation of a Primary Antibody Deficiency Screening Algorithm for Primary Care.J Clin Immunol. 2023 Nov;43(8):2022-2032. doi: 10.1007/s10875-023-01575-8. Epub 2023 Sep 16. J Clin Immunol. 2023. PMID: 37715890 Free PMC article.
References
-
- Odnoletkova I, Kindle G, Quinti I, Grimbacher B, Knerr V, Gathmann B, et al. The burden of common variable immunodeficiency disorders: a retrospective analysis of the European Society for Immunodeficiency (ESID) registry data. Orphanet J Rare Dis. 2018;13(1):201 10.1186/s13023-018-0941-0 - DOI - PMC - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Other Literature Sources
Research Materials
Miscellaneous