Figures
Abstract
Objective
Early differentiation of pediatric acute respiratory infections in outpatient and emergency settings is often hindered by nonspecific clinical signs, leading to unnecessary empirical antibiotic use and avoidable radiation exposure. Therefore, this study aimed to develop and internally evaluate an early triage model to distinguish pediatric bronchopneumonia (BP) from uncomplicated upper respiratory tract infection using routine, cost-effective laboratory parameters analyzed with machine-learning algorithms.
Methods
This retrospective study consecutively enrolled 532 pediatric patients who presented with mild respiratory symptoms at their initial visit, comprising 218 in the BP group and 314 in the Upper Respiratory Tract Infection (URTI) group. Core laboratory indicators were selected using a dual-dimensionality reduction strategy that integrated the Least Absolute Shrinkage and Selection Operator (LASSO) regression with the Boruta algorithm. Seven machine learning classifiers were then constructed and compared based on the resulting feature matrix. The Shapley Additive Explanations (SHAP) framework was subsequently applied to interpret the nonlinear predictive mechanisms of the optimal model.
Results
This study constructed seven machine learning models: Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Lightweight Gradient Boosting Machine (LightGBM), Support Vector Machine (SVM), and Artificial Neural Network (ANN). In the internal validation set, the SVM model demonstrated favorable predictive performance, with an area under the curve (AUC) of 0.921 (95% confidence interval: 0.874–0.959). Based on Platt-scaled probability estimates, the SVM model showed the lowest Brier score among the evaluated models, with a Brier score of 0.112. Decision curve analysis confirmed this model’s positive net clinical benefit across a broad range of threshold probabilities. SHAP analysis further elucidated the nonlinear contribution weights of multiple conventional parameters at specific physiological thresholds.
Conclusions
The multidimensional SVM risk quantification model, based on nine routine laboratory parameters, provides an accurate and objective assessment of pediatric BP risk. This model holds significant potential for clinical translation as a noninvasive, cost-effective triage tool in emergency departments. Its application could effectively reduce unnecessary radiographic screening and excessive antibiotic use.
Citation: Dai J, Qiu H, Shen L, Shi Q, Shen K, Wang Q, et al. (2026) Explainable machine learning for the early differentiation of pediatric bronchopneumonia using routine laboratory parameters. PLoS One 21(7): e0351509. https://doi.org/10.1371/journal.pone.0351509
Editor: Benjamin M. Liu, Children’s National Hospital, George Washington University, UNITED STATES OF AMERICA
Received: April 16, 2026; Accepted: May 28, 2026; Published: July 8, 2026
Copyright: © 2026 Dai et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data underlying this study cannot be made publicly available because they contain de-identified clinical information from pediatric patients and are subject to institutional and ethical restrictions. Qualified researchers may request access to the data from the Medical Ethics Committee of Siyang Hospital, which serves as a non-author institutional contact point for data access requests (syxrmyyrlzyb@126.com).
Funding: 2024 Suqian Municipal Health Commission Medical Research Project.
Competing interests: The authors have declared that no competing interests exist.
Abbreviations: ADA, Adenosine Deaminase; ALB, Albumin; ALP, Alkaline Phosphatase; AUC, Area Under the Curve; BP, Bronchopneumonia; CG, Cholylglycine; CK, Creatine Kinase; CREA, Creatinine; CRP, C-reactive Protein; DCA, Decision Curve Analysis; DT, Decision Tree; EMR, Electronic Medical Record; GGT, Gamma-glutamyl Transferase; GLDH, Glutamate Dehydrogenase; HCY, Homocysteine; IMA, Ischemia-modified Albumin; MONO, Monocyte Count; NEFA, Non-esterified Fatty Acids; NEUT, Neutrophil Count; RBC, Red Blood Cell Count; RBP, Retinol-binding Protein; SA, Sialic Acid; SHAP, Shapley Additive Explanations; TBA, Total Bile Acids; UA, Uric Acid; WBC, White Blood Cell Count
Introduction
Bronchopneumonia (BP) is one of the leading causes of pediatric hospitalizations worldwide [1,2]. The disease typically presents with an insidious onset. It lacks specific early clinical features, frequently leading to diagnostic confusion with self-limiting uncomplicated upper respiratory tract infection (URTI) at initial presentation [3,4]. To prevent occult disease progression, broad-spectrum antibiotics are frequently prescribed prophylactically or empirically in routine clinical practice [5]. However, amid the escalating global crisis of antimicrobial resistance (AMR), a critical bottleneck in pediatric practice remains: accurately identifying genuinely low-risk patients who do not require antibiotic exposure or radiographic imaging during initial emergency department observation or hospital admission, which is essential to facilitate safe therapeutic de-escalation.
Currently, the definitive diagnosis of BP relies on chest imaging and etiological evaluation [6]. Pediatric BP has a heterogeneous etiological spectrum. Respiratory viruses and bacterial pathogens are the most common causes, whereas atypical organisms and hospital-acquired Gram-negative bacteria may also contribute, particularly in older children, immunocompromised patients, and healthcare-associated cases. Although culture-based bacterial identification and antimicrobial susceptibility testing (AST) remain essential for etiological confirmation and targeted antimicrobial therapy, these methods are time-consuming. Moreover, because pediatric respiratory samples are often complex and may contain mixed flora or low pathogen loads, rapid and reliable bacterial identification and AST remain challenging [7]. Molecular diagnostic methods, including isothermal nucleic acid amplification and CRISPR-Cas-based detection strategies, have become increasingly attractive for infectious disease diagnostics; however, their turnaround time, technical requirements, and accessibility may still limit their immediate use in early outpatient or emergency triage settings [8]. However, in high-volume primary or emergency care settings, radiographic imaging is often deliberately deferred to strictly limit pediatric exposure to ionizing radiation. Concurrently, the prolonged turnaround time for etiological assays forces physicians to make empirical treatment decisions in the initial hours of observation. Although routine inflammatory biomarkers serve as the cornerstone of clinical assessment and possess irreplaceable value in identifying severe bacterial infections [9,10], they exhibit extensive overlapping in normal reference intervals when differentiating early, mild respiratory symptoms—a recognized “clinical gray zone.” Consequently, the isolated use of single indicators fails to afford clinicians sufficient diagnostic confidence to safely rule out the risk of pneumonia [11,12]. This inherent diagnostic uncertainty directly drives the persistent overprescription of empirical antibiotics.
Comprehensive routine peripheral blood panels, characterized by their minimally invasive, reproducible, and highly standardized nature, enable deep characterization of the host’s systemic stress response during the early phase of infection [13,14]. Beyond traditional fluctuations in inflammatory cell populations, the infection-induced acute-phase response triggers profound metabolic restructuring and reprogramming of nutritional immunity. For instance, acute lower respiratory tract infections are not only accompanied by the rapid mobilization of humoral immunity (e.g., IgA, IgG, IgM) but also frequently induce the redistribution of serum trace elements (e.g., Cu, Zn, Fe) and metabolic stress, as evidenced by alterations in liver enzymes and lactate dehydrogenase [15–17].
Nonetheless, pediatric clinical biochemical and immunological parameters are highly age-dependent and exhibit complex nonlinear interactions throughout disease evolution [18]. Traditional linear statistical models are intrinsically inadequate for extracting robust features to enable precise “rule-out” diagnostics in such a high-dimensional, dynamic physiological landscape [19]. Recently, machine learning (ML)—leveraging its superior capacity for feature space representation and nonlinear fitting—has emerged as an ideal methodological framework for constructing clinical decision support systems with high negative predictive values (NPVs) [20]. Specifically, tree-based ensemble algorithms can adeptly capture the intricate coupling between subtle multidimensional biochemical perturbations and patient baseline characteristics, thereby delineating highly precise risk boundaries [21].
Against this backdrop, the present study leveraged a merged dual-center retrospective cohort from Siyang Hospital and Shanxian Central Hospital to develop and internally evaluate a series of machine learning models. By integrating multidimensional routine peripheral blood profiles, we aimed to estimate the risk of BP in pediatric patients presenting with mild respiratory symptoms. Model performance was assessed using an internal validation set randomly derived from the merged dual-center cohort.
Materials and methods
Study design and participants
This retrospective case-control study consecutively enrolled pediatric patients who presented to the pediatric departments of Siyang Hospital and Shanxian Central Hospital between April 15, 2021, and January 20, 2025. All research procedures involving human participants adhered to the 1964 Declaration of Helsinki and its subsequent revisions or equivalent ethical standards. This study was approved by the Medical Ethics Committee of Siyang Hospital, approval number KS2026002. Given the retrospective nature of the study and the use of de-identified data, the requirement for informed consent was waived. De-identified data were accessed for research purposes on January 5, 2026. As only de-identified data were used for statistical analysis, the authors had no access to information that could directly identify individual participants at any stage of the study.
According to the final outpatient or emergency department diagnoses, the study cohort was stratified into a BP group and an uncomplicated URTI control group. The URTI group was strictly defined as patients presenting with mild respiratory symptoms at initial evaluation who were ultimately diagnosed with a common URTI and remained free of antibiotic exposure throughout their entire clinical course.
The inclusion criteria were as follows: (1) age ranging from 28 days to 14 years; (2) for the BP group, fulfillment of current clinical and radiographic diagnostic criteria for pediatric BP at their initial presentation; and (3) peripheral blood sampling performed at the initial emergency visit, strictly before the administration of any empirical antibiotics or specific therapies.
Patients were excluded if they met any of the following criteria: (1) underlying chronic cardiopulmonary conditions (e.g., congenital heart disease, bronchopulmonary dysplasia [BPD]) or inherited metabolic disorders; (2) primary or secondary immunodeficiency, including a history of autoimmune diseases or long-term immunosuppressant therapy; or (3) concomitant hematologic malignancies or severe organ dysfunction.
Clinical feature space and multiple imputation
Demographic characteristics and laboratory test results at initial presentation were retrospectively extracted from the dual-center electronic medical record (EMR) systems. The extracted feature variables encompassed baseline demographics, routine blood indices, biochemical markers, serum trace elements, and immunoglobulins.
To address missing data for specific laboratory parameters, we used Multiple Imputation by Chained Equations (MICE) under the missing-at-random (MAR) assumption within the training set. Specifically, missing continuous variables in the training set were imputed using the predictive mean matching (PMM) algorithm. The imputation procedure fitted in the training set was subsequently applied to the internal validation set. A total of five imputed training datasets were generated and subsequently pooled to facilitate downstream feature selection and model construction.
Feature selection
To mitigate multicollinearity in high-dimensional laboratory data and prevent model overfitting, we employed a dual feature selection strategy that integrates Least Absolute Shrinkage and Selection Operator (LASSO) regression and the Boruta algorithm. Initially, LASSO regression was applied to the imputed training set for preliminary dimensionality reduction. The optimal penalty parameter (λ) was determined via 10-fold cross-validation to shrink coefficients and eliminate redundant linearly correlated variables. Concurrently, to overcome the intrinsic limitations of linear algorithms in capturing nonlinear interactions, we implemented the Boruta algorithm—rooted in a random forest architecture—to evaluate and extract globally important features via permutation tests. To ensure the stability and robustness of the feature selection, we derived the intersection of variables retaining non-zero coefficients in LASSO and those classified as “Confirmed” by Boruta. This intersection was ultimately established as the core feature subset, serving as the exclusive input matrix for all downstream machine learning predictive models.
Machine learning model development and training
The merged dual-center dataset (N = 532) was randomly split at a 7:3 ratio into a training set (n = 373) and an internal validation set (n = 159). All preprocessing steps, including MICE imputation, feature selection, hyperparameter tuning, and model training, were performed within the training set. The internal validation set was used only for final model evaluation. Using the feature subset derived from the aforementioned feature selection strategy, we trained seven machine learning classification algorithms on the training set: Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Lightweight Gradient Boosting Machine (LightGBM), Support Vector Machine (SVM), and Artificial Neural Network (ANN). Table 1 presents the optimal hyperparameter combinations for each model.
Grid search was selected for hyperparameter optimization because the number of candidate predictors after feature selection was limited and the predefined hyperparameter space for each algorithm was relatively small, making this approach transparent, reproducible, and computationally feasible. During model training, 10-fold cross-validation was used for all algorithms to mitigate overfitting and ensure internal stability. Concurrently, grid search was used to iteratively tune hyperparameters and determine the optimal configuration for each algorithm. The SVM model used a radial basis function (RBF) kernel, with optimized hyperparameters of C = 100 and gamma = 0.01, allowing the model to capture nonlinear decision boundaries and non-monotonic relationships among laboratory parameters. For the SVM model, probability estimates were obtained using Platt scaling based on the training data. Subsequently, the seven hyperparameter-optimized models were evaluated in the internal validation set to assess their internal predictive performance.
Model evaluation and statistical analysis
Continuous variables conforming to a normal distribution were expressed as the mean ± standard deviation (SD) and compared using the independent-samples t-test. In contrast, non-normally distributed variables were presented as the median (interquartile range [IQR]) and analyzed via the Wilcoxon rank-sum test. Categorical variables were summarized as frequencies (percentages) and compared using either Pearson’s chi-square test or Fisher’s exact test, as appropriate.
To evaluate the internal predictive performance of the models in the internal validation set, we assessed them across three distinct dimensions: discrimination, calibration, and clinical utility. Discrimination was comprehensively assessed utilizing the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), F1 score, and Cohen’s kappa coefficient. Calibration was quantified using Brier scores and visualized by plotting calibration curves. For the SVM model, Brier scores, calibration curves, and decision curve analysis were based on the Platt-scaled probability estimates. For clinical utility, we applied decision curve analysis (DCA) to estimate the net clinical benefit across a continuum of threshold probabilities, and we mapped the distribution of classification errors using confusion matrices. Furthermore, the Shapley Additive Explanations (SHAP) framework was used to elucidate the model’s interpretability. In the SHAP analysis, bronchopneumonia was defined as the positive class (Class 1), whereas uncomplicated URTI was defined as Class 0.
All fundamental statistical analyses were performed using SPSS version 27.0 and R version 4.5.1. Multiple imputation was performed using the mice package in R. Feature selection was conducted using the glmnet and Boruta packages in R. Machine learning model development, hyperparameter tuning, probability calibration, and model evaluation were performed in Python 3.12 using scikit-learn, XGBoost, and LightGBM. SHAP interpretation was performed using the SHAP package in Python. A two-sided P-value < 0.05 was defined as indicating statistical significance.
Results and discussion
Patient characteristics
A total of 532 pediatric patients were enrolled in this study, including 366 males and 166 females. Based on their final clinical diagnoses, the cohort was stratified into a BP group (n = 218) and an uncomplicated URTI control group (n = 314). Age was further categorized into three groups: < 5 years, ≥ 5 and ≤10 years, and >10 years. Overall, 69 patients (12.97%) were younger than 5 years, 278 patients (52.26%) were aged ≥5 and ≤10 years, and 185 patients (34.77%) were older than 10 years. The distribution of age categories differed significantly between the BP and URTI groups (P < 0.001), whereas sex distribution showed no significant difference between the two groups (P = 0.637) (Table 2).
Compared to the URTI group, patients in the BP group exhibited significantly elevated baseline levels of white blood cell count (WBC), neutrophil count (NEUT), C-reactive protein (CRP), alkaline phosphatase (ALP), gamma-glutamyl transferase (GGT), adenosine deaminase (ADA), urea (UREA), creatinine (CREA), uric acid (UA), lactate dehydrogenase (LDH), creatine kinase (CK), glutamate dehydrogenase (GLDH), non-esterified fatty acids (NEFA), ischemia-modified albumin (IMA), cholylglycine (CG), immunoglobulin A (IgA), and immunoglobulin M (IgM) (all P < 0.05). Conversely, the BP group demonstrated significantly decreased levels of lymphocyte count (LYMPH), monocyte count (MONO), red blood cell count (RBC), platelet count (PLT), albumin (ALB), total bile acids (TBA), zinc (Zn), iron (Fe), and immunoglobulin G (IgG) (all P < 0.05). No significant between-group differences were observed regarding homocysteine (HCY), sialic acid (SA), retinol-binding protein (RBP), alanine aminotransferase (ALT), and copper (Cu) (all P > 0.05) (Table 2).
Select feature variables for model construction
In this study, we employed LASSO regression and the Boruta algorithm for rigorous feature selection. During the LASSO analysis, the optimal penalty parameter (λ) was determined via cross-validation (Fig 1A). As λ increased, model complexity progressively decreased. By applying the 1-standard error (1-SE) criterion to minimize the binomial deviance, 14 feature variables were retained from the 33 initial candidates. The coefficient profile plot against log(λ) revealed that specific variables maintained stable predictive contributions even under stringent regularization conditions (Fig 1B).
(A) LASSO cross-validation curve. The two dashed vertical lines indicate λmin, corresponding to the minimum cross-validation error, and λ1se, corresponding to the largest λ within one standard error of the minimum. The red dots represent the mean cross-validation error, the gray error bars indicate ±1 standard error, and the numbers above the curve denote the number of non-zero coefficients. (B) LASSO coefficient path showing the shrinkage trajectories of regression coefficients for different variables as a function of log(λ). (C) Changes in variable importance across repeated Boruta training iterations, used to evaluate the stability of variable importance and distinguish important variables from shadow features. (D) Box plot of the variable importance distribution generated by the Boruta algorithm. (E) Network diagram showing the overlapping and selected features identified by LASSO and Boruta.
Subsequently, we applied the random forest-based Boruta algorithm to evaluate variable robustness from the perspective of predictive importance. The importance scores of authentic variables were consistently higher than those of the shadow (permuted) control features (Fig 1C), indicating that the selection outcomes were driven by genuine signals rather than statistical noise. The distribution of variable importance exhibited distinct gradients (Fig 1D); variables including CRP, NEUT, IgA, LDH, and WBC occupied the upper echelon of importance, whereas the shadow control features (shadow Min, shadow Mean, and shadow Max) ranked the lowest, aligning perfectly with algorithmic expectations. The feature selection outcomes of both methodologies demonstrated robust consistency: LASSO identified 14 features, Boruta confirmed 16 features, and their intersection yielded a consensus of 9 core features (Fig 1E). Synthesizing the linear interpretability of LASSO and the robustness of Boruta to identify nonlinear contributions, we exclusively used the intersected feature subset for all downstream model construction and analyses.
Model evaluation
Using the training cohort, we developed seven machine learning models—LR, DT, RF, XGBoost, LightGBM, SVM, and ANN—and subsequently evaluated their predictive performance in the internal validation set. Receiver operating characteristic (ROC) analysis revealed that the SVM model achieved the highest area under the curve (AUC) of 0.921 (95% CI: 0.874–0.959) in the internal validation set, followed by RF (AUC = 0.896, 95% CI: 0.845–0.943), LightGBM (AUC = 0.895, 95% CI: 0.834–0.947), and XGBoost (AUC = 0.893, 95% CI: 0.835–0.944). Conversely, LR exhibited a comparatively lower AUC of 0.774 (95% CI: 0.699–0.844) (Fig 2A).
(A) ROC Curves for the Models. (B) Calibration curves for the models. (C) Decision curve analysis curves for the models.
Upon comprehensive evaluation of further performance metrics in the internal validation set, the SVM model consistently outperformed the others, yielding an accuracy of 0.843, precision of 0.823, sensitivity of 0.785, specificity of 0.883, F1 score of 0.803, positive predictive value (PPV) of 0.823, and negative predictive value (NPV) of 0.856, thereby demonstrating optimal classification efficacy (Table 3). Based on Platt-scaled probability estimates, calibration curves and Brier scores showed that the SVM model had the lowest Brier score in the internal validation set (0.112, 95% CI: 0.082–0.144), indicating the lowest overall probabilistic prediction error among the evaluated models. LightGBM also demonstrated a relatively low Brier score (0.120, 95% CI: 0.093–0.156), whereas LR yielded a notably higher Brier score (0.189, 95% CI: 0.163–0.217) (Fig 2B). DCA indicated that, across a broad range of threshold probabilities, most models achieved a higher net clinical benefit than both the “treat-all” and “treat-none” strategies. Notably, the DCA curve for SVM was positioned at a higher overall level, suggesting its superior potential value for clinical decision-making within the corresponding threshold intervals (Fig 2C). Confusion matrix analysis revealed that the SVM model’s false positive and false negative rates on the training set were 3.64% and 7.19%, respectively (Fig 3A). In the internal validation set, these rates were 11.70% and 21.54%, respectively (Fig 3B), indicating its classification performance in the internal validation cohort. Furthermore, the detailed presentation of the ROC, calibration, and DCA curves for the SVM model in the internal validation set further illustrated its discrimination, calibration, and potential clinical utility in this internal evaluation (Fig 3C–E).
(A) Training set confusion matrix. (B) Internal validation set confusion matrix. (C) ROC curve of the SVM model in the internal validation set. (D) Calibration curve of the SVM model in the internal validation set. (E) Decision curve analysis of the SVM model in the internal validation set.
Interpretability analysis in the model
To elucidate the predictive rationale of the optimal SVM model for BP incidence, we employed the SHAP method for a comprehensive interpretability analysis. The SHAP-based feature importance ranking revealed that CRP exerted the greatest average contribution to the model output, followed by LDH, IgA, NEUT, and WBC (Fig 4A). The SHAP summary scatter plot further demonstrated a consistent directional correspondence between distinct feature values and model outputs: higher values of CRP, LDH, IgA, NEUT, and WBC predominantly corresponded to positive SHAP values, suggesting a greater propensity to drive the model prediction towards the occurrence of BP. Conversely, higher values of Zn, Fe, and TBA generally corresponded to negative SHAP values, indicating a tendency to push the prediction towards uncomplicated URTI (Fig 4B).
(B) SHAP beeswarm plot: SHAP values (x-axis) quantify each feature’s impact on the model output, and color encodes feature values from low to high, illustrating how value ranges relate to prediction direction. (C–D) SHAP waterfall plots for the same sample showing the feature contributions for Class 1 (bronchopneumonia) and Class 0 (uncomplicated URTI), respectively. (E–F) SHAP force plots for the same sample showing the feature contributions for Class 1 (bronchopneumonia) and Class 0 (uncomplicated URTI), respectively.
Local explanations for an identical sample revealed that the directional contributions of features toward BP (Class 1) and uncomplicated URTI (Class 0) exhibited inverse distributions. In the waterfall plots, CRP and WBC showed positive contributions toward BP under the Class 1 display, whereas they showed negative contributions under the Class 0 display (Fig 4C–4D). The force plot results corroborated these findings, illustrating how the combined effects of key features determined the final classification tendency of this specific sample (Fig 4E–4F).
Furthermore, SHAP dependence plots indicated nonlinear associations between pivotal variables and the model output. Specifically, the SHAP effects of WBC, NEUT, and CRP showed a “U-shaped” trend as their values fluctuated; LDH generally exhibited an ascending SHAP contribution with increasing measured values, while Zn and IgA also displayed value-interval-dependent effect variations (Fig 5). Overall, the SHAP analysis provided robust evidence of interpretability for the SVM predictions at both the global and individual levels. Multiple laboratory parameters exerted positive or negative predictive momentum across different value intervals, manifesting interval-dependent nonlinear effects in the dependence plots. This ultimately furnished verifiable, biologically plausible interpretability support for the SVM model in discriminating the risk of BP.
Each panel depicts the relationship between a feature’s value (x-axis) and its SHAP value (y-axis), characterizing the magnitude and direction of that feature’s contribution to the model output across the observed value range.
Discussion
Early differentiation of pediatric acute respiratory infections in outpatient and emergency settings often lacks specific clinical phenotypes, subsequently leading to unnecessary empirical antibiotic exposure in children with self-limiting URTI [22,23]. Leveraging a dual-center retrospective cohort, we employed a dimensionality reduction strategy that intersected LASSO regression with the Boruta algorithm to extract nine feature indicators (CRP, LDH, IgA, NEUT, WBC, Zn, CREA, Fe, and TBA) from routine laboratory tests at initial presentation. Based on this feature subset, we constructed and internally evaluated an SVM model tailored to differentiate pediatric BP from uncomplicated URTI.
In current clinical pathways, the early evaluation of pediatric BP primarily relies on clinical signs and radiographic imaging [24]. However, early nonspecific respiratory signs overlap extensively between BP and uncomplicated URTI. Concurrently, chest radiography—the traditional gold standard for definitive diagnosis—is difficult to justify as a routine initial screening tool in emergency and outpatient settings due to inherent ionizing radiation exposure risks [25]. Furthermore, previous auxiliary triage largely relied on isolated inflammatory biomarkers, which offer limited discrimination in reflecting the host’s complex systemic response to infection. Consequently, final clinical decisions are highly sensitive to heterogeneity in attending physicians’ subjective experiences [26,27]. In contrast, by integrating widely accessible, cost-effective routine blood and biochemical laboratory data, we constructed an objective, multidimensional risk-quantification model. This strategy overcomes the suboptimal classification efficacy of traditional single indicators during early differentiation, providing a noninvasive, low-cost auxiliary triage tool to circumvent unnecessary radiographic imaging and empirical antibiotic exposure.
Routine laboratory parameters provide highly valuable objective information for assessing systemic pathology in pediatric patients with acute respiratory infections [28]. The nine feature indicators incorporated into our models encompass three distinct dimensions: immune-inflammatory response, tissue stress, and trace element metabolism. Specifically, alterations in WBC, NEUT, CRP, and IgA directly reflect the host’s acute-phase inflammatory and immune activation levels; abnormalities in LDH, CREA, and TBA indicate local tissue injury and organ metabolic stress secondary to infection; whereas Zn and Fe signify the consumption and redistribution of trace elements during the disease course. A recent large-scale cohort study on pediatric pneumonia confirmed that pathogen-induced systemic inflammation synchronously drives tissue micro-injury and metabolic shifts [29]. Compared to isolated biomarkers, this multidimensional feature panel—spanning “inflammation-injury-metabolism”—more comprehensively captures the pathophysiological cascade in children during the acute infection phase, thereby establishing a robust biological rationale for the model to differentiate BP from uncomplicated URTI [30,31].
In this study, we employed a feature dimensionality reduction strategy derived from the intersection of LASSO regression and the Boruta algorithm. LASSO regression was utilized to mitigate linear multicollinearity among variables, while the Boruta algorithm was applied to extract global nonlinear interactive features; their integration guaranteed the robustness of the final feature subset incorporated into the models. During comparisons in the internal validation set, the SVM model exhibited favorable discrimination and calibration performance. Compared to traditional LR and tree-based models, the SVM algorithm demonstrated superior efficacy in delineating classification boundaries when processing clinical laboratory data characterized by complex nonlinear distributions.
Simultaneously, we quantified the marginal contributions of the nine features to the SVM model’s predictive risk using the SHAP framework. SHAP dependence plots objectively illustrated the nonlinear relationships between routine laboratory parameters and the risk of pneumonia: indicators such as WBC, NEUT, and Zn exhibited a U-shaped distribution in the predictive output, whereas the SHAP values for CRP and LDH showed a continuous positive risk contribution as their measured values increased. This nonlinear quantitative evaluation approach transcends the traditional clinical discrimination paradigm that relies on single, fixed reference intervals (normal vs. abnormal). As delineated in a recent machine learning-based clinical decision support study on pediatric pneumonia by Serin et al., the host’s systemic physiological response to infection rarely exhibits a perfectly linear relationship [32]; the incorporation of the SHAP framework enables the precise estimation of nonlinear risk weights for routine laboratory parameters at specific physiological thresholds, providing a biologically plausible, individualized decision-making basis to break away from the dogmatic use of isolated indicators.
In the DCA, we observed that the model yielded a positive net clinical benefit across a broad range of threshold probabilities. In outpatient and emergency triage settings, it can assist in identifying low-risk pediatric patients with uncomplicated URTI, providing an objective reference to curtail unnecessary antibiotic interventions and ionizing radiation exposure. The limitations of this study are as follows. First, the retrospective design introduces inherent selection bias. In addition, because radiographic confirmation was used as part of the diagnostic criteria for BP, clinicians’ decisions to order chest imaging may have introduced diagnostic selection bias. Therefore, the model may partly reflect clinical decision patterns in retrospective practice rather than purely disease-related biological differences. Future prospective studies with standardized imaging criteria and predefined diagnostic pathways are needed to minimize this bias. Second, although this study included data from two hospitals, data from both centers were merged before random splitting into the training and internal validation sets. Therefore, the reported performance should be interpreted as internal validation based on an internal validation set derived from a merged dual-center cohort, rather than true center-wise external validation. Third, the feature matrix did not include specific etiological sequencing or antimicrobial resistance data. Fourth, the proportion of children younger than 5 years was relatively low in this cohort, which may limit the generalizability of the model to younger pediatric populations. Given the limited sample size of children under 5 years of age, formal age-stratified model performance analysis may yield unstable estimates. Future studies should further validate the model in younger children, particularly those under 5 years of age. Finally, the model’s generalizability requires further validation in independent prospective cohorts, preferably using center-wise external validation strategies. In conclusion, the SVM model, constructed upon nine routine laboratory parameters, effectively evaluates the risk of pediatric BP and holds the potential to be translated into an early auxiliary triage tool in the emergency department.
Conclusion
This study developed an interpretable machine learning model using nine routine laboratory parameters and internally evaluated its performance in an internal validation set derived from a merged dual-center retrospective cohort, supporting early risk stratification and differentiation between pediatric bronchopneumonia and uncomplicated upper respiratory tract infection. The model provides interpretable quantitative evidence to support initial decision-making in outpatient and emergency settings, offering potential to identify low-risk children and optimize further diagnostic testing and medication strategies.
References
- 1. Qian C, Chen Q, Lin W, Li Z, Zhu J, Zhang J, et al. Incidence of community-acquired pneumonia among children under 5 years in Suzhou, China: a hospital-based cohort study. BMJ Open. 2024;14(1):e078489. pmid:38171617
- 2. von Mollendorf C, Berger D, Gwee A, Duke T, Graham SM, Russell FM, et al. Aetiology of childhood pneumonia in low- and middle-income countries in the era of vaccination: a systematic review. J Glob Health. 2022;12:10009. pmid:35866332
- 3. Wu J, Wang X, Zhou M, Chen G-B, Du J, Wang Y, et al. The value of lymphocyte-to-monocyte ratio and neutrophil-to-lymphocyte ratio in differentiating pneumonia from upper respiratory tract infection (URTI) in children: a cross-sectional study. BMC Pediatr. 2021;21(1):545. pmid:34861849
- 4. Geanacopoulos AT, Amirault JP, Michelson KA, Monuteaux MC, Lipsett SC, Hirsch AW, et al. Community-Acquired Pneumonia Diagnosis Following Emergency Department Visits for Respiratory Illness. Clin Pediatr (Phila). 2025;64(1):83–90. pmid:38757645
- 5. Thi TVL, Canh Pham E, Dang-Nguyen D-T. Evaluation of children’s antibiotics use for outpatient pneumonia treatment in Vietnam. Braz J Infect Dis. 2024;28(4):103839. pmid:38996808
- 6. Yun KW. Community-acquired pneumonia in children: updated perspectives on its etiology, diagnosis, and treatment. Clin Exp Pediatr. 2024;67(2):80–9. pmid:37321577
- 7. Lin X, Zhai K, Liu BM, Chen J. Metabolism-driven colorimetric “read-to-answer” sensor array for bacterial discrimination and antimicrobial susceptibility testing. Anal Chem. 2025;97(31):17040–9. pmid:40737437
- 8.
Liu BM. Isothermal Nucleic Acid Amplification Technologies and CRISPR‐Cas‐Based Nucleic Acid Detection Strategies for Infectious Diseases Diagnostics. Manual of Molecular Microbiology. Wiley. 2025. 30–47. https://doi.org/10.1002/9781683674597.ch3
- 9. Bernardi L, Bossù G, Dal Canto G, Giannì G, Esposito S. Biomarkers for Serious Bacterial Infections in Febrile Children. Biomolecules. 2024;14(1):97. pmid:38254697
- 10. Downes KJ, Fitzgerald JC, Weiss SL. Utility of Procalcitonin as a Biomarker for Sepsis in Children. J Clin Microbiol. 2020;58(7):e01851-19. pmid:32350044
- 11. Rhedin S, Elfving K, Berggren A. Novel Biomarkers Differentiating Viral from Bacterial Infection in Febrile Children: Future Perspectives for Management in Clinical Praxis. Children (Basel). 2021;8(11):1070. pmid:34828783
- 12. Pérez-López A, Irwin A, Rodrigo C, Prat-Aymerich C. Role of C reactive protein and procalcitonin in the diagnosis of lower respiratory tract infection in children in the outpatient setting. BMJ. 2021;373:n1409. pmid:34117023
- 13. Guo X, Luo H, Song Y, Xiao L, Xu X, Guo Y. Application value of systemic immune-inflammation index in predicting severe Mycoplasma pneumoniae pneumonia. PLoS One. 2025;20(10):e0333267. pmid:41066395
- 14. Wu M, Chen J, Gao Y, Chen H, Li W. Routine Laboratory Markers-Based Machine Learning Model for Predicting Severe Kawasaki Disease in Pediatric Patients. J Inflamm Res. 2025;18:10545–58. pmid:40787255
- 15. Healy C, Munoz-Wolf N, Strydom J, Faherty L, Williams NC, Kenny S, et al. Nutritional immunity: the impact of metals on lung immune cells and the airway microbiome during chronic respiratory disease. Respir Res. 2021;22(1):133. pmid:33926483
- 16. Gupta GS. The Lactate and the Lactate Dehydrogenase in Inflammatory Diseases and Major Risk Factors in COVID-19 Patients. Inflammation. 2022;45(6):2091–123. pmid:35588340
- 17. Waghmare A, Krantz EM, Baral S, Vasquez E, Loeffelholz T, Chung EL. Reliability of self-sampling for accurate assessment of respiratory virus viral and immunologic kinetics. J Infect Dis. 2022;226(2):278–86. pmid:32710762
- 18. Wilson SM, Bohn MK, Madsen A, Hundhausen T, Adeli K. LMS-based continuous reference percentiles for 14 laboratory parameters in the CALIPER cohort of healthy children and adolescents. Clin Chem Lab Med. 2023;61(6):1105–15. pmid:36639844
- 19. Tong R, Zhu Z, Ling J. Comparison of linear and non-linear machine learning models for time-dependent readmission or mortality prediction among hospitalized heart failure patients. Heliyon. 2023;9(5):e16068. pmid:37215773
- 20. Ming DK, Hernandez B, Sangkaew S, Vuong NL, Lam PK, Nguyet NM, et al. Applied machine learning for the risk-stratification and clinical decision support of hospitalised patients with dengue in Vietnam. PLOS Digit Health. 2022;1(1):e0000005. pmid:36812518
- 21. Zhang N, Wang J, Shen C, Pei Y, Li W, Wang H, et al. XGBoost based machine learning prediction model for major adverse cardiovascular events after PCI in STEMI patients. Sci Rep. 2026;16(1):4419. pmid:41484374
- 22. Hersh AL, Jackson MA, Hicks LA, American Academy of Pediatrics Committee on Infectious Diseases. Principles of judicious antibiotic prescribing for upper respiratory tract infections in pediatrics. Pediatrics. 2013;132(6):1146–54. pmid:24249823
- 23. Bradley JS, Byington CL, Shah SS, Alverson B, Carter ER, Harrison C, et al. The management of community-acquired pneumonia in infants and children older than 3 months of age: clinical practice guidelines by the Pediatric Infectious Diseases Society and the Infectious Diseases Society of America. Clin Infect Dis. 2011;53(7):e25-76. pmid:21880587
- 24. Zar HJ, Andronikou S, Nicol MP. Advances in the diagnosis of pneumonia in children. BMJ. 2017;358:j2739. pmid:28747379
- 25. Ramgopal S, Ambroggio L, Lorenz D, Shah SS, Ruddy RM, Florin TA. A Prediction Model for Pediatric Radiographic Pneumonia. Pediatrics. 2022;149(1):e2021051405. pmid:34845493
- 26. Morrison W, Madrigal V. Provider Consensus on Factors Affecting Psychosocial Outcomes: A First Step Toward a Multifaceted Approach to Caring for Children and Families After an ICU Stay. Pediatr Crit Care Med. 2020;21(1):96–7. pmid:31899755
- 27. He R-R, Yue G-L, Dong M-L, Wang J-Q, Cheng C. Sepsis Biomarkers: Advancements and Clinical Applications-A Narrative Review. Int J Mol Sci. 2024;25(16):9010. pmid:39201697
- 28. Gong W, Gao K, Shan Z, Yang L, Fang P, Li C, et al. Research progress of biomarkers in evaluating the severity and prognostic value of severe pneumonia in children. Front Pediatr. 2024;12:1417644. pmid:39411281
- 29. Zhou X, Zhang B, Li Y, Zhao X. Association between Gustave Roussy Immune Score and delay in discharge among children and adolescents with mycoplasma pneumoniae pneumonia: a retrospective cohort study. Front Pediatr. 2025;13:1564217. pmid:41113562
- 30. Lydon E, Osborne CM, Wagner BD, Ambroggio L, Harris JK, Reeder R, et al. Proteomic profiling of the local and systemic immune response to pediatric respiratory viral infections. mSystems. 2025;10(1):e0133524. pmid:39611811
- 31. Correale M, Tricarico L, Fortunato M, Dattilo G, Iacoviello M, Brunetti ND. Infection, atherothrombosis and thromboembolism beyond the COVID-19 disease: what similar in physiopathology and researches. Aging Clin Exp Res. 2021;33(2):273–8. pmid:33449336
- 32. Serin O, Akbasli IT, Cetin SB, Koseoglu B, Deveci AF, Ugur MZ, et al. Predicting Escalation of Care for Childhood Pneumonia Using Machine Learning: Retrospective Analysis and Model Development. JMIRx Med. 2025;6:e57719. pmid:40036666