Natural language processing and machine learning to enable automatic extraction and classification of patients' smoking status from electronic medical records. (1st October 2020)
- Record Type:
- Journal Article
- Title:
- Natural language processing and machine learning to enable automatic extraction and classification of patients' smoking status from electronic medical records. (1st October 2020)
- Main Title:
- Natural language processing and machine learning to enable automatic extraction and classification of patients' smoking status from electronic medical records
- Authors:
- Caccamisi, Andrea
Jørgensen, Leif
Dalianis, Hercules
Rosenlund, Mats - Abstract:
- Abstract: Background: The electronic medical record (EMR) offers unique possibilities for clinical research, but some important patient attributes are not readily available due to its unstructured properties. We applied text mining using machine learning to enable automatic classification of unstructured information on smoking status from Swedish EMR data. Methods: Data on patients' smoking status from EMRs were used to develop 32 different predictive models that were trained using Weka, changing sentence frequency, classifier type, tokenization, and attribute selection in a database of 85, 000 classified sentences. The models were evaluated using F-score and accuracy based on out-of-sample test data including 8500 sentences. The error weight matrix was used to select the best model, assigning a weight to each type of misclassification and applying it to the model confusion matrices. The best performing model was then compared to a rule-based method. Results: The best performing model was based on the Support Vector Machine (SVM) Sequential Minimal Optimization (SMO) classifier using a combination of unigrams and bigrams as tokens. Sentence frequency and attributes selection did not improve model performance. SMO achieved 98.14% accuracy and 0.981 F-score versus 79.32% and 0.756 for the rule-based model. Conclusion: A model using machine-learning algorithms to automatically classify patients' smoking status was successfully developed. Such algorithms may enable automaticAbstract: Background: The electronic medical record (EMR) offers unique possibilities for clinical research, but some important patient attributes are not readily available due to its unstructured properties. We applied text mining using machine learning to enable automatic classification of unstructured information on smoking status from Swedish EMR data. Methods: Data on patients' smoking status from EMRs were used to develop 32 different predictive models that were trained using Weka, changing sentence frequency, classifier type, tokenization, and attribute selection in a database of 85, 000 classified sentences. The models were evaluated using F-score and accuracy based on out-of-sample test data including 8500 sentences. The error weight matrix was used to select the best model, assigning a weight to each type of misclassification and applying it to the model confusion matrices. The best performing model was then compared to a rule-based method. Results: The best performing model was based on the Support Vector Machine (SVM) Sequential Minimal Optimization (SMO) classifier using a combination of unigrams and bigrams as tokens. Sentence frequency and attributes selection did not improve model performance. SMO achieved 98.14% accuracy and 0.981 F-score versus 79.32% and 0.756 for the rule-based model. Conclusion: A model using machine-learning algorithms to automatically classify patients' smoking status was successfully developed. Such algorithms may enable automatic assessment of smoking status and other unstructured data directly from EMRs without manual classification of complete case notes. … (more)
- Is Part Of:
- Upsala journal of medical sciences. Volume 125:Number 4(2020)
- Journal:
- Upsala journal of medical sciences
- Issue:
- Volume 125:Number 4(2020)
- Issue Display:
- Volume 125, Issue 4 (2020)
- Year:
- 2020
- Volume:
- 125
- Issue:
- 4
- Issue Sort Value:
- 2020-0125-0004-0000
- Page Start:
- 316
- Page End:
- 324
- Publication Date:
- 2020-10-01
- Subjects:
- Clinical informatics -- electronic medical records -- machine learning -- natural language processing -- smoking -- text mining
Medicine -- Periodicals
Medicine -- Periodicals
Electronic journals
610.5 - Journal URLs:
- http://informahealthcare.com/loi/ups ↗
http://informahealthcare.com/ups ↗
http://search.epnet.com/direct.asp?db=aph&jn="BE3"&scope=site ↗
https://ujms.net/index.php/ujms/issue/view/523 ↗
http://informahealthcare.com ↗
http://www.tandf.co.uk/journals/titles/03009734.html ↗ - DOI:
- 10.1080/03009734.2020.1792010 ↗
- Languages:
- English
- ISSNs:
- 0300-9734
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 9122.700000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 23447.xml