Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Sep 24;33(1):148.
doi: 10.1186/s13049-025-01463-7.

Machine learning model to predict mortality in patients with skin and soft tissue infection in emergency department

Affiliations

Machine learning model to predict mortality in patients with skin and soft tissue infection in emergency department

Yu-Wei Chen et al. Scand J Trauma Resusc Emerg Med. .

Abstract

Background: Accurately predicting mortality in patients with skin and soft-tissue infections (SSTIs) remains challenging. Machine learning models offer rapid processing, algorithmic impartiality, and strong predictive accuracy, which may improve early risk stratification in the emergency department (ED).

Methods: We retrospectively analyzed clinical data from 1,294 ED patients diagnosed with SSTIs between March 2015 and December 2020. Five machine learning algorithms-logistic regression (LR), k-nearest neighbours (KNN), support vector machine (SVM), random forest (RF), and Extreme Gradient Boosting (XGBoost)-were developed using 20 candidate variables, with model performance evaluated in independent runs. A simplified XGBoost model using only the six most influential predictors was also derived for bedside application.

Results: Among the five models, XGBoost achieved the highest performance (AUC = 0.892, sensitivity = 86.9%, specificity = 93.4%). The streamlined six-variable XGBoost model further improved predictive metrics (AUC = 0.922, sensitivity = 88.5%, specificity = 95.4%), matching or slightly surpassing the full model while reducing data requirements.

Conclusions: XGBoost outperformed LR, KNN, SVM, and RF in predicting SSTI mortality, offering both higher accuracy and operational efficiency. Its sequential tree-building, regularization, and robust handling of missing data enable superior discrimination in tabular clinical datasets. The simplified model, requiring only standard admission variables, provides a fast, cost-effective, and highly accurate tool for early identification of high-risk patients in the ED.

Keywords: Artificial intelligence; Machine learning; Mortality; Skin and soft tissue infection.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethics approval and consent to participate: This study was conducted in accordance with the principles of the Declaration of Helsinki. Ethical approval was obtained from the Institutional Review Board of Chang Gung Memorial Hospital (No. 202302020B0). The IRB confirm that the data was anonymized or maintained with confidentiality. Consent to participate was not applicable and waived by Institutional review board of Chia-yi Chang Gung Memorial Hospital due to its a low risk retrospective medical chart review study. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
XGBoost emerged as the top-performing algorithm, yielding superior sensitivity, specificity, and overall accuracy compared with LR, KNN, RF, and SVM
Fig. 2
Fig. 2
Feature importance ranking for the XGBoost model, based on average Gini index reduction values. The six most influential predictors—systolic blood pressure < 90 mmHg, bandemia, C-reactive protein > 100 mg/L, liver cirrhosis, creatinine > 1.6 mg/dL, and diabetes mellitus. BP: blood pressure; CRP: C-reactive protein

References

    1. Ramakrishnan K, Salinas RC, Agudelo NI. Skin and soft tissue infections. Am Fam Physician. 2015;92:474–83. - PubMed
    1. IDSA Practice Guidelines. Skin and Soft Tissue Infections. 2018 update.
    1. Miller LG, Eisenberg DF, et al. Incidence of skin and soft tissue infections in ambulatory and inpatient settings, 2005–2010. BMC Infect Dis. 2015;15:362. - PMC - PubMed
    1. StatPearls. Necrotizing Fasciitis. Updated 2025. - PubMed
    1. Elshewey AM, Abed AH, Khafaga DS, et al. Enhancing heart disease classification based on Greylag Goose optimization algorithm and long short-term memory. Sci Rep. 2025;15:1277. 10.1038/s41598-024-83592-0 - PMC - PubMed

LinkOut - more resources