Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

Machine learning-based identification of medication adherence predictors in two Spanish primary care cohorts.

Created on 09 Jul 2026

Authors

Rodrigo Martín Gómez Del Moral Herranz, Miguel Rujas, Peña Arroyo-Gallego, Jim Ingebretsen Carlson, Jaime Barrio-Cortes, Ana Isabel Villimar-Rodriguez, Rosa Morros, Maria Giner-Soriano, Andrés Castillo-Sanz, Francisco Lupiáñez-Villanueva, Sergio Sanchez-Martinez, Maria Fernanda Cabrera, Cecilia Vera Muñoz, Maria Teresa Arredondo, Beatriz Merino-Barbancho, Giuseppe Fico

Published in

Scientific reports. Jul 08, 2026. Epub Jul 08, 2026.

Abstract

Non-adherence to medication represents an important global challenge that compromises patient outcomes and increases healthcare costs, particularly in Spain due to the high prevalence of chronic conditions. Therefore, identifying the key factors influencing adherence is a valuable approach for developing targeted interventions. This study analysed two large real-world primary care databases from Madrid and Catalonia using four feature selection methods and three machine learning classifiers, together with threshold optimisation, calibration analysis, bootstrap confidence intervals, and importance analyses. Recursive Feature Elimination with Cross-Validation (RFECV), a cross-validated procedure that iteratively removes less informative variables) combined with Extreme Gradient Boosting (XGBoost), a tree-based algorithm that combines multiple decision trees, achieved the best performance in both cohorts. Overall, 48 structural factors were identified, 19 in Madrid and 29 in Catalonia, with consistent validation and test performance (AUROC 0.6953/0.6952 and 0.7775/0.7788, respectively). In Madrid, the number of medications and chronic disease burden were the most relevant factors, whereas in Catalonia smoking-related factors, rural or urban context, and prescription-timing factors were important. These findings support the value of using artificial intelligence to identify patterns and develop patient-centred adherence strategies in clinical practice. Although such data-driven AI models can reveal useful patterns, their interpretation should remain grounded in comprehensive adherence frameworks and and the results should be interpreted considering the heterogeneity between the databases, indirect adherence measures, and the absence of richer social determinants or external validation. Future research should therefore address these limitations to strengthen the generalisability of the findings.

PMID:
42420443
Bibliographic data and abstract were imported from PubMed on 09 Jul 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 11
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement