Skip to main content
Frontiers in Cellular and Infection Microbiology logoLink to Frontiers in Cellular and Infection Microbiology
. 2026 Jul 30;16:1857200. doi: 10.3389/fcimb.2026.1857200

Development and validation of an interpretable machine learning model for the early diagnosis of invasive pulmonary aspergillosis in patients with severe fever with thrombocytopenia syndrome: a retrospective cohort study

Shuwen Ding 1,†, Ruize Ma 1,†, Wan Peng 1,†, Yanli Xu 2, Ling Lin 2,*, Zhihai Chen 1,*
PMCID: PMC13469073  PMID: 42597639

Abstract

Objectives

Invasive pulmonary aspergillosis (IPA) is a common complication in patients with severe fever with thrombocytopenia syndrome (SFTS); however, its diagnosis remains challenging due to non-specific clinical manifestations and limited diagnostic tools. This study aimed to develop and validate a machine learning (ML)-based early diagnostic model to identify IPA in SFTS patients.

Methods

A total of 374 SFTS patients with suspected IPA were retrospectively enrolled at Qishan Hospital between March 2022 and June 2025. Both the Least Absolute Shrinkage and Selection Operator (LASSO) and the Boruta algorithms were employed for feature selection. Seven ML algorithms were subsequently developed and evaluated using multiple evaluation metrics to compare their predictive performance. Optimal cutoff values were determined by the Youden index. The AUCs of the models were compared using the DeLong test. Feature contributions in the optimal model were interpreted using SHapley Additive exPlanations (SHAP).

Results

Among the seven algorithms, the Random Forest (RF) model demonstrated the best predictive performance. The final model incorporated five key features: sex, serum potassium, international normalized ratio (INR), galactomannan (GM) test positivity, and SFTSV RNA load. The RF model achieved an area under the receiver operating characteristic curve (AUC) of 0.871 (95% CI: 0.799-0.933), with a specificity of 0.829 (95% CI: 0.735-0.912), a sensitivity of 0.854 (95% CI: 0.738–0.953), and an F1 score of 0.795. Calibration was acceptable, with a Brier score of 0.140 (95% CI: 0.105 - 0.179), and clinical utility was confirmed through decision curve analysis (DCA).

Conclusions

Our ML model provides a non-invasive and cost-effective approach for the early identification of SFTS-associated IPA. It may serve as a valuable adjunct to existing diagnostic strategies and support timely diagnostic evaluation in high-risk patients. Further external validation is warranted before clinical implementation.

Keywords: early diagnosis, invasive pulmonary aspergillosis, machine learning, predictive models, severe fever with thrombocytopenia syndrome

1. Introduction

Severe Fever with Thrombocytopenia Syndrome (SFTS) is a tick-borne zoonotic disease caused by the Severe Fever with Thrombocytopenia Syndrome Virus (SFTSV). Since its first identification in rural areas of Hubei and Henan provinces in Central China in 2009, SFTS cases have been reported in multiple countries across East and Southeast Asia (Ohno et al., 2025). Due to its high case fatality rate and the growing geographic spread (Casel et al., 2021; Seo et al., 2021), the World Health Organization (WHO) and the National Institute of Allergy and Infectious Diseases (NIAID) of the United States designated SFTS as a priority pathogen (Kim et al., 2024).

Patients with SFTS exhibit a high prevalence of bacterial and fungal co-infections, ranging from 27.4% to 45.0% (Song et al., 2023a; Hu et al., n.d). Among these, invasive pulmonary aspergillosis (IPA)—conventionally observed in immunocompromised hosts—has emerged as a particularly life-threatening complication in critically ill SFTS patients (Zhao et al., 2025b; Castro-Fuentes et al., 2026). Recent studies have reported a high incidence of IPA in SFTS patients, ranging from 21.2% to 56%, with associated mortality rates ranging from 25.42% to 37.9% (Song et al., 2023b; Wang et al., 2024; Xu et al., n.d).

However, early identification of SFTS-associated IPA (SAPA) remains challenging due to the lack of specific clinical manifestations and the limitations of currently available diagnostic methods. Conventional fungal cultures of respiratory specimens are time-consuming and often lack sufficient sensitivity. Although serum galactomannan (GM) is one of the most widely used biomarkers for IPA diagnosis, its diagnostic performance is suboptimal in non-neutropenic patients like SFTS patients (Lu et al., 2023; Niu et al., 2024). While galactomannan detection in bronchoalveolar lavage fluid (BALF) generally demonstrates higher sensitivity than in plasma, its overall diagnostic performance remains imperfect and requires invasive sampling procedures (Sun et al., n.d). Consequently, the diagnosis of SAPA is frequently delayed, with a reported median time to diagnosis of approximately 8 days (Seong et al., 2021). Such delays may postpone the initiation of antifungal therapy and adversely affect patient outcomes, highlighting the need for more effective approaches for the early identification of SFTS-associated IPA.

Therefore, this retrospective study aimed to develop and validate an integrated diagnostic model for the early identification of patients at high risk of SFTS-associated IPA. By incorporating multiple clinical and laboratory variables, the model may serve as an adjunctive tool to support early diagnostic evaluation and clinical risk stratification of patients with SFTS-associated IPA in real-world settings.

2. Methods

2.1. Patients and study design

Patient data were collected from individuals diagnosed with SFTS at Qishan Hospital in Yantai between March 2022 and June 2025. Inclusion criteria included:(a) a confirmed diagnosis of SFTS based on the detection of SFTSV by reverse transcription polymerase chain reaction (RT-PCR) (NHCotPsRo, 2023); and (b) age ≥ 18 years. Exclusion criteria were patients who (a) had pre-existing immunodeficiency disorders; (b) had autoimmune diseases or malignancies; (c) had other concurrent invasive fungal infections; (d) were missing critical laboratory results or clinical documentation; (e) were pregnant; (f) died within 24h of admission; (g) were receiving systemic antifungals >48h pre-admission; or (h) had pre-existing unresolved IPA before SFTSV infection.

The enrolled cohort was categorized into IPA and non-IPA groups based on established diagnostic guidelines. In the absence of universally accepted diagnostic criteria for SFTS-associated IPA, IPA was diagnosed according to the guidelines of the European Organization for Research and Treatment of Cancer and the Mycoses Study Group Education and Research Consortium (EORTC/MSGERC) updated in 2020 (Donnelly et al., 2019), consistent with the methodology adopted in previous studies of SFTS-related IPA (Song et al., 2023b; Yan et al., 2025; Xu et al., n.d). Patients meeting the modified EORTC/MSGERC criteria for probable IPA were assigned to the IPA group, whereas all remaining patients were assigned to the non-IPA group. No proven IPA cases were identified in the study cohort.

2.2. Data collection

All the information was collected from the electronic hospital records system. The following data from each patient were reviewed: (a) Patients’ background, including sex, age, underlying disease, onset to admission interval; (b) Clinical manifestations, comprising fever, fatigue, cough, expectoration, dyspnea, central nervous system symptoms, and lymphadenopathy; (c) Laboratory testing, including complete blood count, serum chemistry, coagulation system tests, serum 1,3-β-D-glucan test (G test), galactomannan test (GM test), and viral load.

Serum G and GM tests were performed according to routine clinical practice at the discretion of the treating physician when fungal infection was clinically considered. Baseline clinical and laboratory parameters were collected within the first 48 hours of admission. To preserve the temporal relationship between predictors and outcome, only variables obtained at least 72 hours before the diagnosis of IPA were included in the analysis.

CNS symptoms were defined as unexplained altered mental status (including impaired consciousness, lethargy, or personality changes) persisting for ≥24 h, or generalized/focal seizures not attributable to a preexisting seizure disorder (Shan et al., 2024; Wu et al., 2025).

2.3. Data preprocessing

The dataset was divided into a training set (70%) and a validation set (30%) using stratified sampling based on the IPA diagnosis. All candidate predictors exhibited low levels of missingness (<5% in both the training and validation sets). To reduce bias and improve statistical power, missing values were imputed via multiple imputation using the MICE package in R. Specifically, five imputed datasets were generated (m=5), with a random seed of 123 set for reproducibility.

2.4. Variable selection and model development

Feature selection was performed using the Least Absolute Shrinkage and Selection Operator (LASSO) regression and the Boruta algorithm. LASSO regression with 10-fold cross-validation was first applied to determine the optimal penalty parameter, shrinking the coefficients of less important predictor variables to zero and retaining variables with non-zero coefficients, thereby reducing redundant predictors (Zeng et al., n.d). Boruta, a random forest–based feature selection algorithm, was subsequently used to identify variables whose importance consistently exceeded that of randomly generated shadow features (Wang et al., n.d). As the two methods identify informative predictors using different selection principles, only variables selected by both algorithms were retained for final model construction to improve feature-selection stability while maintaining a parsimonious model.

In this study, seven common binary classifiers—Logistic Regression (LR), Decision Tree (DT), Support Vector Machine (SVM), Random Forest (RF), Light Gradient Boosting Machine (LightGBM), Extreme Gradient Boosting (XGBoost), and Artificial Neural Network (ANN)—were used to construct the prediction models.

Hyperparameter tuning was performed on the training set using grid search with 5-fold cross-validation. The performance of the final optimal model was then evaluated on the validation set.

2.5. Model validation

The performance of the prediction models was quantified through accuracy, precision, sensitivity, specificity, F1 score, Kappa coefficient, and Youden index, with the classification outcomes visualized through a confusion matrix. The optimal classification threshold for each model was determined by the maximum Youden index.

Receiver operating characteristic (ROC) curves, calibration plots, and decision-curve analysis (DCA) were used to assess discrimination, calibration, and net clinical utility (Shipe et al., 2019). Uncertainty for the area under the curve (AUC) and Brier score was quantified by bootstrap resampling of the validation set (1,000 iterations). Differences in discriminative performance between competing models were assessed using DeLong’s test. Bootstrap resampling (5,000 iterations) was performed to estimate 95% confidence intervals for differences in ΔAUC between models.

2.6. Model interpretation

SHAP (SHapley Additive exPlanations) values were employed to quantify the contribution of each feature to the model’s output. Features with higher absolute SHAP values were deemed to exert a greater effect on the model predictions. This approach enhanced model interpretability and facilitated clinical understanding of model decisions.

2.7. Statistical analysis

All statistical analyses were performed using R (v4.5.1; R Foundation for Statistical Computing, Vienna, Austria). The normality of continuous variables was assessed using the Shapiro–Wilk test. Accordingly, normally distributed data were expressed as mean ± standard deviation (SD) and compared via the Student’s t-test, while non-normally distributed data were presented as median with interquartile range (IQR) and analyzed with the Mann–Whitney U test. Categorical variables were presented as counts and percentages, with group differences compared using the χ2 or Fisher’s exact test, as appropriate. A two-sided p-value < 0.05 was regarded as statistically significant.

2.8. Sensitivity analyses

To evaluate the potential risk of target leakage arising from the inclusion of GM test positivity, which forms part of the diagnostic criterion for IPA, a sensitivity analysis was conducted. All seven machine learning models were retrained after excluding GM test positivity from the predictor set. The restricted models were evaluated using the same model-development framework as in the primary analysis. Their performance was subsequently compared with that of the original models to assess the influence of GM positivity on predictive performance.

3. Results

3.1. Baseline characteristics

Among the 374 patients with confirmed SFTS, 139 were classified as IPA, and 235 as non-IPA. Baseline characteristics were compared between the two groups (Table 1).

Table 1.

Baseline characteristics in this study.

Variables Overall (n=374) Non-IPA (n=235) IPA (n=139) P-value
Sex (Female), n (%) 208 (55.61) 125 (53.19) 83 (59.71) 0.263
Age (years) 67.00 [60.00, 74.00] 67.00 [59.00, 73.50] 70.00 [61.50, 75.00] 0.03
Onset to admission interval (days) 5.00 [4.00, 7.00] 5.00 [4.00, 7.00] 5.00 [4.00, 7.00] 0.715
Diabetes (%) 67 (17.91) 37 (15.74) 30 (21.58) 0.199
Hypertension (%) 91 (24.33) 54 (22.98) 37 (26.62) 0.504
Symptoms and signs
Fever 344 (91.98) 219 (93.19) 125 (89.93) 0.355
Fatigue 282 (75.40) 174 (74.04) 108 (77.70) 0.504
Cough 62 (16.58) 37 (15.74) 25 (17.99) 0.675
Expectoration 49 (13.10) 28 (11.91) 21 (15.11) 0.468
Dyspnea 25 (6.68) 11 (4.68) 14 (10.07) 0.071
CNS symptoms 156 (41.71) 78 (33.19) 78 (56.12) <0.001
Lymphadenopathy 97 (25.94) 55 (23.40) 42 (30.22) 0.183
Laboratory test
NEU (109/L) 1.33 [0.87, 2.11] 1.29 [0.87, 2.04] 1.42 [0.91, 2.32] 0.228
LY (109/L) 0.44 [0.31, 0.66] 0.47 [0.32, 0.73] 0.39 [0.30, 0.56] 0.01
MO (109/L) 0.12 [0.07, 0.29] 0.13 [0.08, 0.26] 0.11 [0.06, 0.36] 0.714
EO (109/L) 0.00 [0.00, 0.01] 0.00 [0.00, 0.01] 0.00 [0.00, 0.01] 0.258
BA (109/L) 0.00 [0.00, 0.01] 0.00 [0.00, 0.01] 0.00 [0.00, 0.01] 0.102
RBC (1012/L) 4.64 [4.30, 4.99] 4.62 [4.28, 4.97] 4.67 [4.32, 5.03] 0.59
HGB (g/L) 141.00 [130.00, 153.00] 141.00 [129.00, 152.00] 142.00 [132.00, 156.00] 0.337
PLT (109/L) 61.50 [48.00, 81.00] 66.00 [51.00, 88.00] 57.00 [41.50, 71.00] <0.001
MPV (fL) 10.30 [9.72, 11.00] 10.20 [9.70, 11.00] 10.30 [9.80, 11.10] 0.233
CRP (mg/L) 4.12 [1.50, 10.07] 3.13 [1.17, 8.86] 5.85 [2.41, 12.21] <0.001
PCT (ng/ml) 0.19 [0.09, 0.48] 0.15 [0.08, 0.33] 0.30 [0.13, 0.66] <0.001
CK-MB (U/L) 9.24 [5.00, 15.00] 9.00 [4.74, 14.00] 11.00 [6.16, 16.34] 0.007
UREA (mmol/L) 6.30 [4.68, 8.65] 5.89 [4.46, 7.81] 7.09 [4.98, 10.29] 0.001
CREA (umol/L) 68.00 [53.25, 85.00] 66.00 [53.00, 79.00] 74.80 [54.85, 97.50] 0.014
Na (mmol/L) 135.00 [131.93, 138.00] 135.00 [132.00, 138.00] 135.00 [131.55, 138.00] 0.807
K (mmol/L) 3.70 (0.48) 3.62 (0.45) 3.83 (0.50) <0.001
INR 0.98 [0.93, 1.04] 0.96 [0.92, 1.02] 1.01 [0.96, 1.07] <0.001
APTT (s) 49.90 [43.60, 57.58] 47.40 [42.20, 54.30] 54.50 [48.10, 64.95] <0.001
TT (s) 22.95 [20.20, 27.60] 21.90 [19.65, 25.70] 25.70 [21.15, 32.70] <0.001
FIB (g/L) 2.50 [2.08, 2.86] 2.54 [2.15, 2.90] 2.44 [2.02, 2.84] 0.049
ALT (U/L) 72.60 [42.78, 134.25] 67.90 [39.10, 118.90] 77.20 [50.35, 154.00] 0.01
AST (U/L) 149.00 [86.62, 305.45] 124.50 [68.10, 241.22] 201.20 [119.55, 463.65] <0.001
TBIL (umol/L) 9.52 [7.60, 12.26] 9.44 [7.72, 11.95] 10.03 [7.52, 12.61] 0.538
DBIL (umol/L) 2.85 [2.23, 4.22] 2.72 [2.22, 3.86] 3.03 [2.33, 4.90] 0.028
ALB (g/L) 31.85 [29.10, 35.48] 32.40 [29.40, 35.80] 30.70 [28.40, 34.20] 0.002
GLOB (g/L) 27.00 [24.40, 29.40] 27.50 [25.10, 29.95] 26.40 [23.35, 28.55] 0.001
GGT (U/L) 28.00 [19.00, 54.00] 27.00 [18.00, 47.50] 28.00 [21.00, 60.50] 0.038
ALP (U/L) 60.90 [48.52, 79.25] 61.90 [49.50, 78.30] 59.30 [47.10, 80.10] 0.784
Positive G test 65 (17.38) 25 (10.64) 40 (28.78) <0.001
Positive GM test 90 (24.06) 21 (8.94) 69 (49.64) <0.001
SFTSV RNA (log10 TCID50/mL) 3.61 [2.63, 4.45] 3.04 [2.32, 3.97] 4.36 [3.65, 5.22] <0.001

CNS, Central nervous system; NEU, Neutrophil; LY, Lymphocyte; MO, Monocyte; EO, Eosinophil; BA, Basophil; RBC, Red blood cell; HGB, Hemoglobin; PLT, Platelet; MPV, Mean platelet volume; CRP, C-reactive protein; PCT, Procalcitonin; CK-MB, Creatine kinase isoenzyme MB; CREA, Creatinine; Na, Sodium; K, Potassium; INR, International Normalized Ratio; APTT, Activated partial thromboplastin time; TT, Thrombin time; FIB, Fibrinogen; ALT, Alanine aminotransferase; AST, Aspartate aminotransferase; TBIL, Total Bilirubin; DBIL, Direct Bilirubin; ALB, Albumin; GLOB, Globulin; ALP, Alkaline Phosphatase; GGT, Gamma-glutamyl transferase; G test, 1,3-β-D-Glucan test; GM, Galactomannan.

Compared with the non-IPA group, patients with IPA exhibited significantly elevated levels of C-reactive protein (CRP), procalcitonin (PCT), serum potassium, aspartate aminotransferase (AST), and SFTSV RNA, as well as significantly prolonged coagulation parameters, whereas the PLT count was significantly lower (all P < 0.001).

3.2. Feature selection

As shown in Figure 1, based on the λ1se criterion, LASSO selected six variables with non-zero coefficients: sex, serum potassium, international normalized ratio (INR), gamma-glutamyl transferase (GGT), SFTSV RNA load, and GM test positivity. The Boruta algorithm identified ten key predictors: sex, serum potassium, monocyte count, INR, activated partial thromboplastin time (APTT), thrombin time (TT), AST, SFTSV RNA load, G test positivity, and GM test positivity. The intersection of these variables—sex, serum potassium, INR, GM test positivity, and SFTSV RNA load—was incorporated into the final model.

Figure 1.

Panel A shows a line graph with binomial deviance on the y-axis and log lambda values on the x-axis, featuring error bars and two dashed vertical lines indicating model selection. Panel B presents a line plot of coefficients versus log lambda with multiple colored lines representing different variables and two vertical dashed lines for selection thresholds. Panel C displays a line graph of variable importance across one hundred classifier runs, with multiple colored lines indicating distinct features. Panel D offers a boxplot of variable importance scores for different features named on the x-axis, showing variability and several key features with higher importance. Panel E consists of a Venn diagram comparing LASSO and Boruta feature selection methods, showing one unique to LASSO, five shared, and five unique to Boruta.

Variable selection process. (A, B) Feature selection using LASSO regression; (C, D) Feature identification via the Boruta algorithm; (E) Venn diagram showing the final five variables.

3.3. Model development and performance comparison

Seven predictive algorithms were developed to estimate the probability of IPA in patients with SFTS. Model hyperparameters were optimized via grid search and cross-validation, and the final tuned parameters for each model were summarized in Table 2.

Table 2.

Optimal parameters of each model.

Model Optimal parameters
Decision tree ‘ccp_alpha’: 0.0, ‘max_depth’: 3, ‘max_features’: None, ‘min_samples_split’: 20
Random forest n_estimators = 400, max_features = 2
XGBoost ‘learning_rate’: 0.01, ‘max_depth’: 3, ‘n_estimators’: 200, ‘subsample’: 0.6
LightGBM ‘colsample_bytree’: 0.8, ‘learning_rate’: 0.1, ‘n_estimators’: 100, ‘num_leaves’: 31, ‘subsample’: 0.6
SVM ‘C’: 0.1, ‘degree’: 2, ‘gamma’: ‘scale’, ‘kernel’: ‘linear’
ANN ‘activation’: ‘tanh’, ‘hidden_layer_sizes’: (50, 50)

XGBoost, Extreme Gradient Boosting; LightGBM, Light Gradient Boosting Machine; SVM, Support Vector Machine; ANN, Artificial Neural Network.

The performance of the seven binary classifiers in the validation set was assessed via confusion matrices (Figure 2). Key metrics, including sensitivity, specificity, precision, negative predictive value, and accuracy, were then derived to compare their classification performance (Cabot and Ross, 2023).

Figure 2.

Grid of seven confusion matrix heatmaps, each labeled by machine learning model: Logistic Regression, Decision Tree, Random Forest, XGBoost, LightGBM, SVM, and ANN. Each panel compares actual versus predicted outcomes in two categories—No Outcome and Outcome—with counts and percentages shown in each cell. Darker colors represent higher accuracy in correct predictions, and lighter colors represent errors, illustrating model performance differences.

Confusion matrices of the seven machine learning models in the validation set. (A) Logistic regression; (B) Decision tree; (C) Random forest; (D) XGBoost; (E) LightGBM; (F) Support vector machine (SVM); (G) Artificial neural network (ANN). Actual outcomes are presented on the vertical axis, while predicted outcomes are on the horizontal axis.

As presented in Table 3; Figure 3A, the RF model achieved the highest AUC (0.871, 95% CI: 0.799–0.933). Using the optimal cutoff probability of 0.3675 determined by the maximum Youden index (J = 0.682), the RF model achieved an accuracy of 0.838, a specificity of 0.829 (95% CI: 0.735-0.912), a sensitivity of 0.854 (95% CI: 0.738–0.953), and a precision of 0.745, reflecting favorable discriminative ability.

Table 3.

Performance comparison of models on the validation set.

Model AUC 95% CI Lower 95% CI Upper Accuracy Precision Sensitivity Specificity F1 Score Kappa Youden’s J
Logistic 0.824 0.737 0.903 0.793 0.737 0.683 0.857 0.709 0.548 0.540
Decision Tree 0.857 0.774 0.931 0.838 0.848 0.683 0.929 0.757 0.637 0.611
Random Forest 0.871 0.799 0.933 0.838 0.745 0.854 0.829 0.795 0.662 0.682
XGBoost 0.862 0.782 0.932 0.847 0.761 0.854 0.843 0.805 0.679 0.697
LightGBM 0.836 0.754 0.908 0.793 0.705 0.756 0.814 0.729 0.562 0.570
SVM 0.838 0.756 0.915 0.802 0.721 0.756 0.829 0.738 0.579 0.585
ANN 0.826 0.741 0.902 0.811 0.727 0.780 0.829 0.753 0.600 0.609

XGBoost, Extreme Gradient Boosting; LightGBM, Light Gradient Boosting Machine; SVM, Support Vector Machine; ANN, Artificial Neural Network.

Figure 3.

Three-panel figure comparing multiple machine learning models using validation data. Panel A shows a ROC curve with Sensitivity versus 1-Specificity, models are color-coded, and area under the curve (AUC) values with confidence intervals are listed. Panel B presents calibration curves plotting predicted probability against true probability, with Brier scores and confidence intervals for each model. Panel C displays a decision curve analysis plotting net benefit against threshold probability, comparing all models and reference strategies.

Performance comparison of the seven machine learning predictive models in the validation set. (A) Receiver operating characteristic (ROC) curves; (B) Calibration curves; (C) Decision curve analysis (DCA).

Pairwise DeLong tests were performed to compare model discrimination. Although the XGBoost model demonstrated a comparable AUC (0.862, 95% CI: 0.782–0.932) and a slightly higher F1 score (0.805), the difference in AUC between RF and XGBoost was not statistically significant (p = 0.536). Bootstrap resampling yielded consistent findings, with a mean ΔAUC of 0.009 (95% CI: -0.020-0.039). In contrast, RF demonstrated significantly better discrimination than Logistic Regression (p = 0.037), and bootstrap analysis showed a mean ΔAUC of 0.047 (95% CI: 0.005-0.094). Other models—including SVM, Decision Tree, and ANN—yielded acceptable levels of discrimination but were surpassed by the RF model. Given its highest AUC, favorable overall performance across multiple evaluation metrics, and good calibration and clinical utility (Figures 3B, C), RF was selected as the final model.

3.4. Interpretability analysis in the model

The global feature importance ranking demonstrated GM test positivity and SFTSV RNA load as the most influential predictors contributing to the model’s output for IPA (Figure 4A).

Figure 4.

Figure containing four SHAP (SHapley Additive exPlanations) plots labeled A to D, each visualizing feature importance and impact for a model. Panel A shows a horizontal bar chart of mean absolute SHAP values, ranking Positive_GM_test and SFTSV_RNA highest. Panel B presents a summary plot with dots illustrating the distribution of SHAP values for each feature, colored by feature value. Panel C displays a SHAP waterfall plot for a single class, indicating individual feature contributions. Panel D includes three scatter plots with SHAP values on the y-axes, visualizing effects of K, INR, and SFTSV_RNA, with color gradients representing feature values.

SHAP interpretability analysis of feature contributions for the Random Forest model. (A) SHAP feature-importance bar plot; (B) SHAP beeswarm plot; (C) SHAP waterfall plots for representative Class 1; (D) SHAP dependence plots.

The SHAP beeswarm plot further demonstrated both directionality and inter-individual heterogeneity by visualizing the impact of each feature on the model’s output (Figure 4B). In this plot, the color represented the feature value, with red indicating a high value and blue indicating a low value. A positive Shapley value for a feature indicated an increased risk of IPA, whereas a negative value suggested a decreased risk. The SHAP waterfall plot visualized the direction and degree of the influence of different features of the 1st participant in the study population on the final predicted value (Figure 4C). The SHAP dependence plots (Figure 4D) illustrated the nonlinear relationships between continuous predictors and IPA risk, providing detailed insights into how individual features influenced model outputs across their value ranges. Specifically, this figure revealed that elevated levels of serum potassium and SFTSV RNA load, along with INR values ranging from 1.0 to 1.4, were associated with a heightened risk of IPA in patients with SFTS.

3.5. Sensitivity analysis

Table 4 presented the results of the sensitivity analysis after excluding GM test positivity from all models. Using the same model-development framework, the reconstructed models showed attenuated discrimination compared with the primary analysis, with AUCs ranging from 0.700 to 0.775. These findings indicate that the models retained moderate discriminatory ability after exclusion of GM test positivity, suggesting that predictive performance was supported by multiple clinical variables rather than driven solely by GM test positivity.

Table 4.

Sensitivity analysis.

Algorithm Primary AUC (incl. GM test positivity) Sensitivity AUC (excl. GM test positivity) Change in AUC
Logistic 0.824 0.775 -0.049
Decision Tree 0.857 0.700 -0.157
Random Forest 0.871 0.733 -0.138
XGBoost 0.862 0.770 -0.092
LightGBM 0.836 0.717 -0.119
SVM 0.838 0.749 -0.089
ANN 0.826 0.748 -0.078

Comparison of AUC values between primary analysis (including GM test positivity) and sensitivity analysis (excluding GM test positivity). Changes in AUC reflect the influence of GM test positivity on model discrimination.

4. Discussion

In this retrospective study, we developed and internally evaluated seven ML models to establish a clinically interpretable model for the early identification of IPA in SFTS patients. By incorporating accessible features collected at least 72 hours prior to the diagnosis of IPA, our model has the potential to function as an adjunctive early-warning tool that complements existing diagnostic criteria and may assist in the early identification of high-risk patients.

In recent years, studies on the screening of risk factors for SFTS-associated IPA have remained limited, and only one predictive model has been reported. Yan et al. developed a nomogram based on four predictors, including maximum viral load, WBC count, BUN, and APTT, and achieved a validation AUC of 0.75 (Yan et al., 2025). Notably, both studies adopted similar diagnostic criteria and included cohorts of comparable size, enhancing the comparability of the findings. However, the predictors retained in the final model differed between studies, likely reflecting differences in patient characteristics and variable selection strategies. Furthermore, differences in patient sources and baseline disease severity may also have influenced model performance. Therefore, these performance metrics should be interpreted and compared with caution. Future external validation across diverse clinical settings is warranted to further evaluate the generalizability and clinical applicability of the model.

While several studies have suggested that males are more susceptible to IPA (Shi et al., 2022; Teng et al., 2025), our findings indicate a higher vulnerability in female patients. Female sex was retained by the model despite the lack of a significant between-group difference at baseline. This finding may reflect interactions with other predictors rather than an independent association and should be interpreted cautiously.

Serum potassium levels and INR may indirectly reflect disease severity in patients with SFTS. Given that critically ill patients with SFTS are more susceptible to developing IPA, these variables may contribute to the prediction of IPA risk (Wang et al., 2024). Previous large-scale studies have demonstrated a U-shaped relationship between serum potassium levels and mortality, with both hypokalemia and hyperkalemia associated with a poor prognosis (Noori et al., 2022). In the context of SFTS, Zheng et al. incorporated serum potassium into a Boosted Topology Model for early prediction of life-threatening conditions, suggesting its potential prognostic relevance, although the relationship between serum potassium levels and mortality risk was not specifically examined (Zheng et al., 2023). In our analysis, higher serum potassium was associated with an increased risk of IPA. This finding may reflect the impact of impaired renal potassium excretion and electrolyte dysregulation (Wang et al., 2025). Nevertheless, the biological mechanisms linking elevated serum potassium levels to adverse outcomes in SFTS have not been fully elucidated and require further investigation. Beyond electrolyte disturbances, prolonged INR indicates the development of disseminated intravascular coagulation and endothelial damage induced by severe systemic inflammatory responses, both of which are closely associated with the severity of SFTS (Xia et al., 2024; Zhang et al., 2025).

Accumulating evidence has identified SFTSV viral load as a critical determinant of disease progression and clinical prognosis in infected patients (Chen et al., 2025). Recent studies have further demonstrated that SFTSV nonstructural protein (NSs) sequesters TANK-binding kinase 1 (TBK1), abrogating its inhibitory effect on NF-κB signaling and thus driving the uncontrolled release of pro-inflammatory mediators, such as IL-6, TNF-α, and MCP-1 (Khalil et al., 2021; Guo and Jiang, 2025). This systemic pro-inflammatory surge triggers vascular compromise (Westover et al., 2019) and induces profound transcriptional remodeling in low-density neutrophils (LDNs), with the concurrent upregulation of inflammatory and type I interferon response gene sets (Zhao et al., 2025a). Such profound immune dysregulation ultimately impairs host defense mechanisms, thereby elevating the risk of secondary opportunistic infections, including IPA.

This study has several limitations. First, the retrospective single-center design may have introduced selection bias and may limit the generalizability of the findings. Although internal validation and bootstrap resampling were performed, the model has not yet undergone external validation in independent cohorts. Second, GM positivity was retained as a predictor despite being part of the diagnostic criteria of probable IPA, which may have introduced a degree of incorporation bias. Although sensitivity analysis excluding GM demonstrated acceptable model performance, this finding should therefore be interpreted with caution. Third, all predictors were measured only once at baseline, and dynamic changes during hospitalization were not captured. As a result, the model cannot be used as a real-time monitoring tool and may not fully reflect changes in patient status over time. Given these limitations, our current model should be regarded as a preliminary, complementary tool for early diagnostic evaluation and risk stratification rather than a substitute for comprehensive clinical judgment of the attending physician. Future multicenter studies involving larger cohorts from diverse geographic regions and healthcare settings are warranted to externally validate the model and further evaluate its generalizability.

5. Conclusion

In conclusion, we developed and internally validated an interpretable RF model for the early diagnosis of IPA in patients with SFTS. By integrating five key predictors—sex, serum potassium, INR, GM test positivity, and SFTSV RNA load—the model demonstrated promising predictive performance in our cohort. This may assist in the early identification of patients at increased risk of IPA and complement existing diagnostic approaches. Future prospective studies are warranted to externally validate this model in larger, independent SFTS cohorts.

Funding Statement

The author(s) declared that financial support was received for this work and/or its publication. This work was supported by the National Natural Science Foundation of China (No. 82072295).

Footnotes

Edited by: Nahed Ismail, University of Illinois Chicago, United States

Reviewed by: Nuri Kiraz, Istanbul University-Cerrahpasa, Turkey

Ayse Kalkanci, Gazi University, Turkey

Siqiang Niu, Xinxiang Central Hospital, China

Data availability statement

The raw data supporting the conclusions of this article are available from the corresponding author upon reasonable request.

Ethics statement

The studies involving humans were approved by Ethics Committee of Beijing Ditan Hospital, Capital Medical University (No. DTEC-KY2022-022-01). The studies were conducted in accordance with the local legislation and institutional requirements. The ethics committee/institutional review board waived the requirement of written informed consent for participation from the participants or the participants’ legal guardians/next of kin because the requirement for written informed consent was waived owing to the retrospective design, and all data were de-identified prior to analysis.

Author contributions

SD: Methodology, Conceptualization, Software, Writing – original draft, Writing – review & editing, Funding acquisition, Visualization, Project administration. RM: Writing – original draft, Methodology. WP: Investigation, Writing – original draft, Formal analysis. YX: Data curation, Formal analysis, Writing – original draft. LL: Writing – review & editing, Resources. ZC: Supervision, Writing – review & editing.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

  1. Cabot J. H., Ross E. G. (2023). Evaluating prediction model performance. Surgery 174, 723–726. doi:  10.1016/j.surg.2023.05.023 [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Casel M. A., Park S. J., Choi Y. K. (2021). Severe fever with thrombocytopenia syndrome virus: emerging novel phlebovirus and their control strategy. Exp. Mol. Med. 53, 713–722. doi:  10.1038/s12276-021-00610-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Castro-Fuentes C. A., Cabrera-Guerrero J. P., Duarte-Escalante E., Hernández Silva G., Chinney Herrera A., Reyes-Montes M. R. (2026). Aspergillosis: an update on epidemiology, risk factors, diagnosis, susceptibility, and treatment. J. Fungi 12, 229. doi:  10.3390/jof12030229 [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Chen R., Xing Y., Wei W., Wang Y., Wang T., Ouyang R., et al. (2025). Neurological manifestations and high viral load as independent predictors of mortality in severe fever with thrombocytopenia syndrome. Open Forum Infect. Dis. 13, ofaf803. doi:  10.1093/ofid/ofaf803 [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Donnelly J. P., Chen S. C., Kauffman C. A., Steinbach W. J., Baddley J. W., Verweij P. E., et al. (2019). Revision and update of the consensus definitions of invasive fungal disease from the European organization for research and treatment of cancer and the mycoses study group education and research consortium. Clin. Infect. Dis. Off. Publ. Infect. Dis. Soc Am. 71, 1367–1376. doi:  10.1093/cid/ciz1008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Guo L., Jiang H. (2025). Relationship between cytokine level and viral load in severe fever with thrombocytopenia syndrome. Open Forum Infect. Dis. 12, ofaf712. doi:  10.1093/ofid/ofaf712 [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Hu Y.-Y., Xia G.-M., Zhang H., Zhang Z.-H. (n.. d). Pathogen profile of co-infections and mortality determinants among patients with severe fever with thrombocytopenia syndrome. Front. Cell. Infect. Microbiol. 15, 1693567. doi:  10.3389/fcimb.2025.1693567 [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Khalil J., Yamada S., Tsukamoto Y., Abe H., Shimojima M., Kato H., et al. (2021). The nonstructural protein NSs of severe fever with thrombocytopenia syndrome virus causes a cytokine storm through the hyperactivation of NF-κB. Mol. Cell. Biol. 41, e00542-20. doi:  10.1128/MCB.00542-20 [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Kim D., Lai C.-J., Cha I., Jung J. U. (2024). Current progress of severe fever with thrombocytopenia syndrome virus (SFTSV) vaccine development. Viruses 16, 128–147. doi:  10.3390/v16010128 [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Lu Y., Liu L., Li H., Chen B., Gu Y., Wang L., et al. (2023). The clinical value of aspergillus-specific IgG antibody test in the diagnosis of nonneutropenic invasive pulmonary aspergillosis. Clin. Microbiol. Infect. Off. Publ. Eur. Soc Clin. Microbiol. Infect. Dis. 29, 797.e1–797.e7. doi:  10.1016/j.cmi.2023.02.002 [DOI] [PubMed] [Google Scholar]
  11. National Health Commission of the People's Republic of China (2023). Diagnosis and treatment scheme for severe fever with thrombocytopenia syndrome (2023 edition). Available online at: https://www.nhc.gov.cn/cms-search/downFiles/39ddd92264f64094985fbef0439da17b.pdf (Accessed July 19, 2026). [Google Scholar]
  12. Niu S., Liu D., Yang Y., Zhao L. (2024). Clinical utility of metagenomic next-generation sequencing in the diagnosis of invasive pulmonary aspergillosis in acute exacerbation of chronic obstructive pulmonary disease patients in the intensive care unit. Front. Cell. Infect. Microbiol. 14, 1397733. doi:  10.3389/fcimb.2024.1397733 [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Noori M., Nejadghaderi S. A., Sullman M. J. M., Carson-Chahhoud K., Kolahi A.-A., Safiri S. (2022). Epidemiology, prognosis and management of potassium disorders in covid-19. Rev. Med. Virol. 32, e2262. doi:  10.1002/rmv.2262 [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Ohno T., Kato H., Kobayashi Y., Kitaoka M., Kanesaki M., Murai S., et al. (2025). Comprehensive epidemiological analysis of severe fever with thrombocytopenia syndrome in Japan 2013–2023: descriptive observational study. Lancet Reg. Health: West. Pac. 65, 101747. doi:  10.1016/j.lanwpc.2025.101747 [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Seo J.-W., Kim D., Yun N., Kim D.-M. (2021). Clinical update of severe fever with thrombocytopenia syndrome. Viruses 13, 1213. doi:  10.3390/v13071213 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Seong G. M., Yoo J. R., Kim J.-G., Hyun C. L., Kim M., Oh H. J., et al. (2021). Proven invasive pulmonary aspergillosis in the early clinical course of severe fever with thrombocytopenia syndrome: importance of an early diagnosis. J. Microbiol. Immunol. Infect. 54, 763–765. doi:  10.1016/j.jmii.2020.12.016 [DOI] [PubMed] [Google Scholar]
  17. Shan D., Chen W., Liu G., Zhang H., Chai S., Zhang Y. (2024). Severe fever with thrombocytopenia syndrome with central nervous system symptom onset: a case report and literature review. BMC Neurol. 24, 158. doi:  10.1186/s12883-024-03664-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Shi C., Shan Q., Xia J., Wang L., Wang L., Qiu L., et al. (2022). Incidence, risk factors and mortality of invasive pulmonary aspergillosis in patients with influenza: a systematic review and meta-analysis. Mycoses 65, 152–163. doi:  10.1111/myc.13410 [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Shipe M. E., Deppen S. A., Farjah F., Grogan E. L. (2019). Developing prediction models for clinical use using logistic regression: an overview. J. Thorac. Dis. 11, S574–S584. doi:  10.21037/jtd.2019.01.25 [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Song L., Zhao Y., Wang G., Zou W., Sai L. (2023. b). Investigation of predictors for invasive pulmonary aspergillosis in patients with severe fever with thrombocytopenia syndrome. Sci. Rep. 13, 1538. doi:  10.1038/s41598-023-28851-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Song H., Zou S., Huang Y., Wang Y., Wang T., Wei W., et al. (2023. a). The pathogenic and clinical characteristics of severe fever with thrombocytopenia syndrome patients with co-infections. Front. Cell. Infect. Microbiol. 13, 1298050. doi:  10.3389/fcimb.2023.1298050 [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Sun C., Zhong H., Cai X., Cao M., Zhao T., Wang L., et al. (n.. d). Diagnostic value of pentraxin 3 in plasma and bronchoalveolar lavage fluid for invasive pulmonary aspergillosis in non-neutropenic patients: a prospective multicenter clinical study. Emerging Microbes Infect. 15, 2667562. doi:  10.1080/22221751.2026.2667562 [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Teng G., Jin F., Zhang H., Zhang M. (2025). Incidence and predictors of pulmonary aspergillosis in patients with lung cancer: a systematic review and meta-analysis. Front. Med. 12, 1560288. doi:  10.3389/fmed.2025.1560288 [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Wang H., Luo M., Fisher D., Pronyuk K., Musabaev E., Thu H. N. T., et al. (2024). Clinical factors associated with invasive pulmonary aspergillosis in patients with severe fever with thrombocytopenia syndrome: analysis of a 6-year clinical experience. Front. Microbiol. 15, 1448710. doi:  10.3389/fmicb.2024.1448710 [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Wang W., Yang H., Perry Wilson F., Gallagher M., Feng Y. (2025). Association between hyperkalemia and outcomes in hospitalized patients with acute kidney injury. Intensive Crit. Care Nurs. 90, 104118. doi:  10.1016/j.iccn.2025.104118 [DOI] [PubMed] [Google Scholar]
  26. Wang Z., Zhang X., Hu X., Miao H., Zhang S., Chang F., et al. (n.. d). Establishing and validating a predictive model for long-term control outcomes following orthokeratology lenses wear: a five-year cohort study. Front. Cell Dev. Biol. 14, 1743506. doi:  10.3389/fcell.2026.1743506 [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Westover J. B., Hickerson B. T., Van Wettere A. J., Hurst B. L., Kurz J. P., Dagley A., et al. (2019). Vascular leak and hypercytokinemia associated with severe fever with thrombocytopenia syndrome virus infection in mice. Pathogens 8, 158. doi:  10.3390/pathogens8040158 [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Wu X., Tan J., Zhao Y., Niu J., Cen X., Feiz M., et al. (2025). Prediction models for encephalitis and in-hospital death associated with severe fever with thrombocytopenia syndrome. BMC Infect. Dis. 25, 1558. doi:  10.1186/s12879-025-12018-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Xia Y., Jia B., Chen Y., Wang S., Xu X. (2024). Clinical value of coagulation parameters in predicting the severity of severe fever with thrombocytopenia syndrome. Front. Microbiol. 15, 1335664. doi:  10.3389/fmicb.2024.1335664 [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Xu Y., Liu Y., Qian Y., Liu N., Tang J., Dong D., et al. (n.. d). Characteristics of T-lymphocyte subsets in patients with severe fever with thrombocytopenia syndrome complicated with invasive pulmonary aspergillosis: a retrospective study. Front. Immunol. 16, 1748830. doi:  10.3389/fimmu.2025.1748830 [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Yan R., Cao K., Li T., Qi H., Liu Y., Qian Y., et al. (2025). Establishment and validation of a nomogram for predicting severe fever with thrombocytopenia syndrome complicated by invasive pulmonary aspergillosis. BMC Infect. Dis. 25, 1783. doi:  10.1186/s12879-025-12218-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Zeng L., Li Y., Wu F., Li S., Rao C., Zhang Y., et al. (n.. d). Establishment and validation of a machine learning-based predictive model for in-hospital mortality risk in acute myocardial infarction patients complicated with diabetes mellitus. Front. Cardiovasc. Med. 13, 1833723. doi:  10.3389/fcvm.2026.1833723 [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Zhang Z., Hu X., Du Q., Mo P., Chen X., Luo M., et al. (2025). Clinical characteristics and outcomes of disseminated intravascular coagulation in patients with severe fever with thrombocytopenia syndrome. BMC Infect. Dis. 25, 508. doi:  10.1186/s12879-025-10900-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Zhao J., Wang C., Jin K., Dai Y., Zhang Y., Zhou T., et al. (2025. a). Single-cell analyses highlight the proinflammatory contribution of low-density neutrophils in the acute phase of severe fever with thrombocytopenia syndrome. Front. Biosci.-Landmark 30. doi:  10.31083/FBL40723 [DOI] [PubMed] [Google Scholar]
  35. Zhao Y., Wu X., Wang X., Li L. (2025. b). Severe fever with thrombocytopenia syndrome complicated with aspergillus endocarditis and multiple organ infarctions after glucocorticoid treatment in an immunocompetent man: a case report. BMC Infect. Dis. 25, 116. doi:  10.1186/s12879-025-10503-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Zheng H., Geng Y., Gu C., Li M., Mao M., Wan Y., et al. (2023). A reservoir computing with boosted topology model to predict encephalitis and mortality for patients with severe fever with thrombocytopenia syndrome: a retrospective multicenter study. Infect. Dis. Ther. 12, 1379–1391. doi:  10.1007/s40121-023-00808-y [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The raw data supporting the conclusions of this article are available from the corresponding author upon reasonable request.


Articles from Frontiers in Cellular and Infection Microbiology are provided here courtesy of Frontiers Media SA

RESOURCES