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
. 2023 Jul 10:11:100307.
doi: 10.1016/j.rcsop.2023.100307. eCollection 2023 Sep.

Assessing treatment switch among patients with multiple sclerosis: A machine learning approach

Affiliations

Assessing treatment switch among patients with multiple sclerosis: A machine learning approach

Jieni Li et al. Explor Res Clin Soc Pharm. .

Abstract

Background: Patients with multiple sclerosis (MS) frequently switch their Disease-Modifying Agents (DMA) for effectiveness and safety concerns. This study aimed to develop and compare the random forest (RF) machine learning (ML) model with the logistic regression (LR) model for predicting DMA switching among MS patients.

Methods: This retrospective longitudinal study used the TriNetX data from a federated electronic medical records (EMR) network. Between September 2010 and May 2017, adults (aged ≥18) MS patients with ≥1 DMA prescription were identified, and the earliest DMA date was assigned as the index date. Patients prescribed any DMAs different from their index DMAs were considered as treatment switch. . The RF and LR models were built with 72 baseline characteristics and trained with 70% of the randomly split data after up-sampling. Area Under the Curves (AUC), accuracy, recall, G-measure, and F-1 score were used to evaluate the model performance.

Results: In this study, 7258 MS patients with ≥1 DMA were identified. Within two years, 16% of MS patients switched to a different DMA. The RF model obtained significantly better discrimination than the LR model (AUC = 0.65 vs. 0.63, p < 0.0001); however, the RF model had a similar predictive performance to the LR model with respect to F- and G-measures (RF: 72% and 73% vs. LR: 72% and 73%, respectively). The most influential features identified from the RF model were age, type of index medication, and year of index.

Conclusions: Compared to the LR model, RF performed better in predicting DMA switch in MS patients based on AUC measures; however, judged by F- and G-measures, the RF model performed similarly to LR. Further research is needed to understand the role of ML techniques in predicting treatment outcomes for the decision-making process to achieve optimal treatment goals.

Keywords: Machine learning; Multiple sclerosis; Real-world evidence; Treatment switching.

PubMed Disclaimer

Conflict of interest statement

Dr. Aparasu has received research funding from Astellas Inc., Incyte Corp., Gilead, and Novartis Inc. for projects unrelated to the current work. Dr. Hutton reports grants from Biogen, Novartis, MedImmune, Hoffman-LaRoche, E.M.D. Serono, Sanofi, and personal fees from Novartis, Sanofi, Celgene outside the submitted work. The other authors declare no conflicts of interest for this article.

Figures

Fig. 1
Fig. 1
Study design diagram.
Fig. 2
Fig. 2
Top 10 Most Influential Predictors from the Random Forest Model.

References

    1. Kutzelnigg A., Lassmann H. Pathology of multiple sclerosis and related inflammatory demyelinating diseases. Handb Clin Neurol. 2014;122:15–58. - PubMed
    1. Wallin M.T., Culpepper W.J., Campbell J.D., et al. The prevalence of MS in the United States. Neurology. 2019;92(10) doi: 10.1212/WNL.0000000000007035. - DOI - PMC - PubMed
    1. McGinley M.P., Goldschmidt C.H., Rae-Grant A.D. Diagnosis and treatment of multiple sclerosis. JAMA. 2021;325(8) doi: 10.1001/jama.2020.26858. - DOI - PubMed
    1. Hunter S.F. Overview and diagnosis of multiple sclerosis. Am J Manag Care. 2016;22(6 Suppl):s141–s150. - PubMed
    1. Campbell J.D., Ghushchyan V., McQueen R.B., et al. Burden of multiple sclerosis on direct, indirect costs and quality of life: national US estimates. Mult Scler Relat Disord. 2014;3(2):227–236. - PubMed

LinkOut - more resources