Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 18 min ago
Peer-reviewedCC BY 4.0BMC Infectious Diseases

Development and internal validation of machine learning models for identifying concurrent bloodstream infection in children with pneumococcal pneumonia: a retrospective case-control study

  1. 1Department of Pediatrics, Second Affiliated Hospital & Yuying Children’s Hospital of Wenzhou Medical University, No. 1111, East Section of Wenzhou Avenue, Longwan District, Wenzhou, Zhejiang Province 325000 China

Abstract

Background: Streptococcus pneumoniae (SP) is a leading cause of invasive infections in children. Early detection of pneumococcal pneumonia complicated by bloodstream infection currently relies on time-consuming blood culture, which may delay clinical assessment and appropriate management. Therefore, rapid and accurate methods are needed to facilitate timely diagnosis and treatment among children. This study sought to evaluate the feasibility of machine learning (ML)-based models for early identification of pneumococcal pneumonia complicated by bloodstream infection in children, which may inform the development of objective, efficient auxiliary diagnostic tools.

Methods: This retrospective, single-center internal-validation study included children with confirmed pneumococcal pneumonia who were admitted to The Second Affiliated Hospital and Yuying Children’s Hospital of Wenzhou Medical University between May 2018 and August 2025. Demographic, clinical, laboratory, and imaging data from the first 24 h of admission were collected. These data were obtained before blood culture results were available. The dataset was randomly divided into training (70%) and validation (30%) sets using a fixed seed. Least Absolute Shrinkage and Selection Operator (LASSO)-based feature selection was performed exclusively within the training set. Six ML models were developed, including logistic regression, random forest, support vector machine (SVM), XGBoost, LightGBM, and Naïve Bayes. Model performance was assessed using discrimination, calibration, and decision curve analysis. Positive predictive value (PPV), negative predictive value (NPV), and net benefit were additionally evaluated under external prevalence assumptions of 1%–5%. Bootstrap optimism correction and nested cross-validation were used to assess model stability, and SHapley Additive exPlanations (SHAP) analysis was applied for model interpretation. Antimicrobial susceptibility variables were excluded from the main analysis because they were unavailable at admission. The corresponding sensitivity analysis is provided in the Supplementary Materials.

Results: A total of 284 children with pneumococcal pneumonia were included (71 with concurrent bloodstream infection). In the validation set, the six ML models achieved AUC values ranging from 0.900 to 0.986. The SVM model achieved an AUC of 0.980 (95% CI: 0.950–1.000, DeLong method). Bootstrap optimism-corrected AUCs ranged from 0.983 to 0.998, with estimated optimism of 0.001–0.017. These findings suggested relative stability under internal validation, though nested cross-validation revealed greater variability for logistic regression. XGBoost was selected for SHAP interpretation based on a multi-criteria framework considering discrimination, calibration, stability, interpretability, and simplicity.

Conclusions: In this exploratory internal validation study, ML models demonstrate good performance for identifying concurrent bloodstream infection in children with pneumococcal pneumonia. When applied to early admission data, such models have potential as diagnostic support tools for detecting concurrent bloodstream infection in these children, though external validation is still needed before clinical use.

Clinical trial number: Not applicable.

Related

  1. Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Nonsuicidal Self-Injury Among Adolescents With Depression: Retrospective Study.
    Gaoyang Liu, Chenxi Yang, Wendan Chen +7
    JMIR pediatrics and parentingPeer-reviewedCC BYFull textPsychiatry & mental healthEurope PMC
  2. Eye-movement-based machine learning for identifying Parkinson’s disease dementia in a retrospective cohort: an interpretable model-development study
    Jing Wu, Qing Liu, Song Yang +5
    Frontiers in aging neurosciencePeer-reviewedCC BYFull textGeneral medicineEurope PMC
  3. Explainable machine learning and multivariable logistic regression for identifying prevalent self-reported physician-diagnosed chronic lung disease in postmenopausal women: development and multi-cohort external validation
    Caizhong Du, Nana Xue, Liqin Dang +2
    Frontiers in Public HealthPeer-reviewedCC BY 4.0Full textEpidemiology & public healthFrontiersCrossrefEurope PMCPMC
  4. Development and internal validation of a chest CT radiomics model for identifying pneumoconiosis.
    Hui Xing, Zihan Wang, Ting Luo +3
    Journal of thoracic diseasePeer-reviewedCC BY-NC-NDFull textMedical imaging & radiologyEurope PMCPMC
  5. Development and internal validation of machine learning models for identifying suicidal behavior in inpatients with mood disorders.
    Sixiang Liang, Qitong Jiang, Jinhe Zhang +8
    Frontiers in psychiatryPeer-reviewedCC BYFull textPsychiatry & mental healthEurope PMCCrossref
BibTeX
@article{xia2026development,
  title = {{Development and internal validation of machine learning models for identifying concurrent bloodstream infection in children with pneumococcal pneumonia: a retrospective case-control study}},
  author = {Xiaojiao Xia and Xiaoguang Hu and Dongshi Liang and Tingting Weng and Shixiong Wu and Yimei Jin},
  journal = {BMC Infectious Diseases},
  year = {2026},
  month = aug,
  doi = {10.1186/s12879-026-14313-3},
  url = {https://doi.org/10.1186/s12879-026-14313-3},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Development and internal validation of machine learning models for identifying concurrent bloodstream infection in children with pneumococcal pneumonia: a retrospective case-control study
AU  - Xiaojiao Xia
AU  - Xiaoguang Hu
AU  - Dongshi Liang
AU  - Tingting Weng
AU  - Shixiong Wu
AU  - Yimei Jin
PY  - 2026
DA  - 2026/08/27
JO  - BMC Infectious Diseases
DO  - 10.1186/s12879-026-14313-3
UR  - https://doi.org/10.1186/s12879-026-14313-3
AB  - Background: Streptococcus pneumoniae (SP) is a leading cause of invasive infections in children. Early detection of pneumococcal pneumonia complicated by bloodstream infection currently relies on time-consuming blood culture, which may delay clinical assessment and appropriate management. Therefore, rapid and accurate methods are needed to facilitate timely diagnosis and treatment among children. This study sought to evaluate the feasibility of machine learning (ML)-based models for early identification of pneumococcal pneumonia complicated by bloodstream infection in children, which may inform the development of objective, efficient auxiliary diagnostic tools.  Methods: This retrospective, single-center internal-validation study included children with confirmed pneumococcal pneumonia who were admitted to The Second Affiliated Hospital and Yuying Children’s Hospital of Wenzhou Medical University between May 2018 and August 2025. Demographic, clinical, laboratory, and imaging data from the first 24 h of admission were collected. These data were obtained before blood culture results were available. The dataset was randomly divided into training (70%) and validation (30%) sets using a fixed seed. Least Absolute Shrinkage and Selection Operator (LASSO)-based feature selection was performed exclusively within the training set. Six ML models were developed, including logistic regression, random forest, support vector machine (SVM), XGBoost, LightGBM, and Naïve Bayes. Model performance was assessed using discrimination, calibration, and decision curve analysis. Positive predictive value (PPV), negative predictive value (NPV), and net benefit were additionally evaluated under external prevalence assumptions of 1%–5%. Bootstrap optimism correction and nested cross-validation were used to assess model stability, and SHapley Additive exPlanations (SHAP) analysis was applied for model interpretation. Antimicrobial susceptibility variables were excluded from the main analysis because they were unavailable at admission. The corresponding sensitivity analysis is provided in the Supplementary Materials.  Results: A total of 284 children with pneumococcal pneumonia were included (71 with concurrent bloodstream infection). In the validation set, the six ML models achieved AUC values ranging from 0.900 to 0.986. The SVM model achieved an AUC of 0.980 (95% CI: 0.950–1.000, DeLong method). Bootstrap optimism-corrected AUCs ranged from 0.983 to 0.998, with estimated optimism of 0.001–0.017. These findings suggested relative stability under internal validation, though nested cross-validation revealed greater variability for logistic regression. XGBoost was selected for SHAP interpretation based on a multi-criteria framework considering discrimination, calibration, stability, interpretability, and simplicity.  Conclusions: In this exploratory internal validation study, ML models demonstrate good performance for identifying concurrent bloodstream infection in children with pneumococcal pneumonia. When applied to early admission data, such models have potential as diagnostic support tools for detecting concurrent bloodstream infection in these children, though external validation is still needed before clinical use.  Clinical trial number: Not applicable.
SN  - 1471-2334
ER  -