Machine Learning Model Development and Validation in Individuals With Suggestive Hypersensitivity to Nonsteroidal Anti-inflammatory Drugs

Read full text
Authors: Rocío Sáenz de Santa María, Rafael Núñez, María Salas-Cassinello, Jose Julio Laguna, David Loli-Ausejo, Esther María Moreno, MJ Torres, Inmaculada Doña, José Antonio Cornejo-García
Cited by: 1

Abstract

BACKGROUND AND OBJECTIVES: Nonsteroidal anti-inflammatory drugs (NSAIDs) are the main triggers of drug hypersensitivity reactions (HSRs). NSAID-induced HSRs constitute a significant health problem owing to their prevalence, phenotypes, mechanisms of action, and complex diagnosis. However, in around 60% of individuals attending for suggestive NSAID-induced HSRs, this diagnosis is ruled out. Patients labeled as being hypersensitive to NSAIDs unnecessarily avoid NSAIDs, leading to increased waiting lists, diagnostic delay, and associated costs. Objective: To develop a machine learning (ML) based model for discriminating NSAID hypersensitive patients from non-NSAID hypersensitive individuals by assessing populations with suspected NSAID-induced HSRs. METHODS: We recruited a retrospective population and a prospective population of individuals attending the Allergy Unit of Malaga Regional University Hospital, Malaga, Spain for suggestive NSAID-induced HSRs in whom a diagnosis had been confirmed. One logistic regression analysis and 6 ML-based models were developed using retrospective data, and the most efficient was applied to the prospective population. In addition, 3 prospective populations from Madrid, Barcelona, and Salamanca were included for external validation. RESULTS: All the models classified at least 85% of individuals correctly, and, considering discrimination by chance, agreement was almost perfect for all of them (k>0.81). However, the light gradient-boosting machine (LGBM) model showed the highest sensitivity (99%), accuracy (97%), and k value (0.94). The final validated LGBM model achieved 91.76% accuracy, a 95.19% area under the curve, and a k of 0.83. Accuracy was >95% in all prospective populations. CONCLUSION: Our LGBM model efficiently differentiated NSAID-hypersensitive patients from individuals who can safely receive NSAIDs, despite suggestive NSAID-induced HSRs. Such a model could easily be incorporated into clinical settings, thus improving diagnosis, reducing waiting lists, and optimizing health care resources.

Fields of Study & Subjects

Drug-Induced Adverse Reactions Pharmacovigilance and Adverse Drug Reactions Inflammatory mediators and NSAID effects

Publication details

Journal / source
Journal of Investigational Allergology and Clinical Immunology
Publisher
Esmon Publicidad, SA
Volume
37
Issue
3
Publication date
9 February 2026
Language
EN