ACR Meeting Abstracts

ACR Meeting Abstracts

  • Meeting Abstracts
    • All Meetings
    • ACR Convergence 2026
    • PRSYM 2026
    • ACR Convergence 2025
    • Download Abstract Supplements
  • Keyword Index
  • My Favorites
    • View & print my favorites
  • Search

Home » Meeting Abstracts » ACR Convergence 2024

Abstract Number: 0984

Predicting Risk of Infection in Hospitalized Patients with Rheumatic Diseases from the MIMIC-IV Clinical Database: A Machine Learning Approach

Mario Felix1 and Lais Osmani2, 1Yale, Hamden, CT, 2Yale, New Haven, CT

Share on X (Twitter) Share on Facebook Share on LinkedIn Share on Email
Print

Meeting: ACR Convergence 2024

Keywords: Infection

Session Information

Date: Sunday, November 17, 2024

Title: Epidemiology & Public Health Poster II

Session Type: Poster Session B

Session Time: 10:30AM-12:30PM

Background/Purpose: Rheumatic diseases often require immunosuppressive treatment, increasing the risk of infection. Clinicians frequently face challenges distinguishing between infection and disease flare in these patients, as both can present with similar symptoms. This study aims to develop a machine learning model to predict the risk of infection in hospitalized patients with rheumatic diseases, using data from the MIMIC-IV clinical database, to aid in clinical decision-making and improve patient outcomes.

Methods: Data were extracted from the MIMIC-IV v2.2 database, encompassing 431,231 admissions and 299,712 unique patients. Patients with rheumatic disease diagnoses were identified using ICD-9 and ICD-10 codes. Initial laboratory results, vital signs, microbiology culture results, and discharge summaries were collected. A final dataset of 2841 admissions was prepared, with 918 positive and 1923 negative culture results, indicating class imbalance. Feature selection was performed using recursive feature elimination, and models were developed using Logistic Regression, Random Forest, and XGBoost algorithms. Hyperparameter tuning was conducted via random search with 5-fold cross-validation, focusing on optimizing F1-score due to class imbalance. Model explainability was assessed using SHAP.

Results: The optimal Logistic Regression model, with L2 regularization, achieved superior performance with F1, recall, and precision scores of 0.52 on the validation set and 0.53 on the test set. The SHAP summary plot identified key features impacting model predictions, including specific rheumatic diagnoses and the presence of immunosuppressive medications. The model demonstrated a balanced approach in predicting infections, minimizing false negatives, which is critical in this patient population.

Conclusion: The machine learning model developed shows promise in predicting the risk of infection in hospitalized patients with rheumatic diseases. Key predictors included laboratory results, rheumatic diagnoses, and immunosuppressive medications. Despite limitations such as class imbalance and missing vital signs, the model serves as a proof of concept for using machine learning to assist clinicians in differentiating between infection and disease flare in this complex patient group. Future work will focus on improving model performance and incorporating patient-reported symptoms using natural language processing.

Supporting image 1

We used the recursive feature elimination algorithm to narrow the feature variable space to 33 features based on F1-score

Supporting image 2

Performance metrics including classification report, confusion curve, and ROC and Precision-Recall curves using our best performing algorithm (Logistic Regression with L2 regularization) on the test set

Supporting image 3

SHAP summary plot identifying key features impacting model predictions


Disclosures: M. Felix: None; L. Osmani: None.

To cite this abstract in AMA style:

Felix M, Osmani L. Predicting Risk of Infection in Hospitalized Patients with Rheumatic Diseases from the MIMIC-IV Clinical Database: A Machine Learning Approach [abstract]. Arthritis Rheumatol. 2024; 76 (suppl 9). https://acrabstracts.org/abstract/predicting-risk-of-infection-in-hospitalized-patients-with-rheumatic-diseases-from-the-mimic-iv-clinical-database-a-machine-learning-approach/. Accessed .

ACR Meeting Abstracts - https://acrabstracts.org/abstract/predicting-risk-of-infection-in-hospitalized-patients-with-rheumatic-diseases-from-the-mimic-iv-clinical-database-a-machine-learning-approach/

My Favorites

Save and print abstracts during your browser session by clicking the “Favorite” button at the bottom of any abstract (must have cookies enabled in browser). See saved favorites.

Abstract Policies

  • ACR Convergence Abstract Embargo Policies
  • ACR Convergence Abstract Permissions & Reprints
  • PRSYM Abstract Policies

ACR Convergence. Where Rheumatology Meets

ACR Convergence 2026

Join us November 6-11 in Orlando, Florida.
See Registration Information

  • Contact ACR
  • Privacy Policy
  • ACR Policies
  • Cookie Preferences

© Copyright 2026 American College of Rheumatology