Natural language processing and machine learning algorithm to identify brain MRI reports with acute ischemic stroke
- PMID: 30818342
- PMCID: PMC6394972
- DOI: 10.1371/journal.pone.0212778
Natural language processing and machine learning algorithm to identify brain MRI reports with acute ischemic stroke
Abstract
Background and purpose: This project assessed performance of natural language processing (NLP) and machine learning (ML) algorithms for classification of brain MRI radiology reports into acute ischemic stroke (AIS) and non-AIS phenotypes.
Materials and methods: All brain MRI reports from a single academic institution over a two year period were randomly divided into 2 groups for ML: training (70%) and testing (30%). Using "quanteda" NLP package, all text data were parsed into tokens to create the data frequency matrix. Ten-fold cross-validation was applied for bias correction of the training set. Labeling for AIS was performed manually, identifying clinical notes. We applied binary logistic regression, naïve Bayesian classification, single decision tree, and support vector machine for the binary classifiers, and we assessed performance of the algorithms by F1-measure. We also assessed how n-grams or term frequency-inverse document frequency weighting affected the performance of the algorithms.
Results: Of all 3,204 brain MRI documents, 432 (14.3%) were labeled as AIS. AIS documents were longer in character length than those of non-AIS (median [interquartile range]; 551 [377-681] vs. 309 [164-396]). Of all ML algorithms, single decision tree had the highest F1-measure (93.2) and accuracy (98.0%). Adding bigrams to the ML model improved F1-mesaure of naïve Bayesian classification, but not in others, and term frequency-inverse document frequency weighting to data frequency matrix did not show any additional performance improvements.
Conclusions: Supervised ML based NLP algorithms are useful for automatic classification of brain MRI reports for identification of AIS patients. Single decision tree was the best classifier to identify brain MRI reports with AIS.
Conflict of interest statement
Drs. Kim, Zhu and Obeid have no competing interests. Dr. Lenert is a member of the Board of Directors of the ATCC. This does not alter the authors' adherence to PLOS ONE policies on sharing data and materials.
Figures




Similar articles
-
Prediction of Stroke Outcome Using Natural Language Processing-Based Machine Learning of Radiology Report of Brain MRI.J Pers Med. 2020 Dec 16;10(4):286. doi: 10.3390/jpm10040286. J Pers Med. 2020. PMID: 33339385 Free PMC article.
-
Performance of a Machine Learning Classifier of Knee MRI Reports in Two Large Academic Radiology Practices: A Tool to Estimate Diagnostic Yield.AJR Am J Roentgenol. 2017 Apr;208(4):750-753. doi: 10.2214/AJR.16.16128. Epub 2017 Jan 31. AJR Am J Roentgenol. 2017. PMID: 28140627
-
Automated Radiology-Arthroscopy Correlation of Knee Meniscal Tears Using Natural Language Processing Algorithms.Acad Radiol. 2022 Apr;29(4):479-487. doi: 10.1016/j.acra.2021.01.017. Epub 2021 Feb 11. Acad Radiol. 2022. PMID: 33583713 Free PMC article.
-
Basic Artificial Intelligence Techniques: Natural Language Processing of Radiology Reports.Radiol Clin North Am. 2021 Nov;59(6):919-931. doi: 10.1016/j.rcl.2021.06.003. Radiol Clin North Am. 2021. PMID: 34689877 Review.
-
Review of Natural Language Processing in Radiology.Neuroimaging Clin N Am. 2020 Nov;30(4):447-458. doi: 10.1016/j.nic.2020.08.001. Neuroimaging Clin N Am. 2020. PMID: 33038995 Review.
Cited by
-
Prediction of Stroke Outcome Using Natural Language Processing-Based Machine Learning of Radiology Report of Brain MRI.J Pers Med. 2020 Dec 16;10(4):286. doi: 10.3390/jpm10040286. J Pers Med. 2020. PMID: 33339385 Free PMC article.
-
Identifying stroke diagnosis-related features from medical imaging reports to improve clinical decision-making support.BMC Med Inform Decis Mak. 2022 Oct 20;22(1):275. doi: 10.1186/s12911-022-02012-3. BMC Med Inform Decis Mak. 2022. PMID: 36266650 Free PMC article.
-
Machine learning and natural language processing methods to identify ischemic stroke, acuity and location from radiology reports.PLoS One. 2020 Jun 19;15(6):e0234908. doi: 10.1371/journal.pone.0234908. eCollection 2020. PLoS One. 2020. PMID: 32559211 Free PMC article.
-
TECRR: a benchmark dataset of radiological reports for BI-RADS classification with machine learning, deep learning, and large language model baselines.BMC Med Inform Decis Mak. 2024 Oct 24;24(1):310. doi: 10.1186/s12911-024-02717-7. BMC Med Inform Decis Mak. 2024. PMID: 39444035 Free PMC article.
-
Automating Stroke Data Extraction From Free-Text Radiology Reports Using Natural Language Processing: Instrument Validation Study.JMIR Med Inform. 2021 May 4;9(5):e24381. doi: 10.2196/24381. JMIR Med Inform. 2021. PMID: 33944791 Free PMC article.
References
-
- GBD 2015 DALYs and HALE Collaborators. Global, regional, and national disability-adjusted life-years (DALYs) for 315 diseases and injuries and healthy life expectancy (HALE), 1990–2015: a systematic analysis for the global burden of disease study 2015. Lancet. 2016;388:1603–1658. 10.1016/S0140-6736(16)31460-X - DOI - PMC - PubMed
-
- GBD 2015 Mortality and Causes of Death Collaborators. Global, regional, and national life expectancy, all-cause mortality, and cause-specific mortality for 249 causes of death, 1980–2015: a systematic analysis for the global burden of disease study 2015. Lancet. 2016;388:1459–1544. 10.1016/S0140-6736(16)31012-1 - DOI - PMC - PubMed
-
- Murray CJ, Ezzati M, Flaxman AD, Lim S, Lozano R, Michaud C, et al. GBD 2010: a multi-investigator collaboration for global comparative descriptive epidemiology. Lancet. 2012;380:2055–2058. - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources