Back to Search
Start Over
Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
- Source :
- BMC Medical Research Methodology, Vol 22, Iss 1, Pp 1-15 (2022)
- Publication Year :
- 2022
- Publisher :
- BMC, 2022.
-
Abstract
- Abstract Background There is growing enthusiasm for the application of machine learning (ML) and artificial intelligence (AI) techniques to clinical research and practice. However, instructions on how to develop robust high-quality ML and AI in medicine are scarce. In this paper, we provide a practical example of techniques that facilitate the development of high-quality ML systems including data pre-processing, hyperparameter tuning, and model comparison using open-source software and data. Methods We used open-source software and a publicly available dataset to train and validate multiple ML models to classify breast masses into benign or malignant using mammography image features and patient age. We compared algorithm predictions to the ground truth of histopathologic evaluation. We provide step-by-step instructions with accompanying code lines. Findings Performance of the five algorithms at classifying breast masses as benign or malignant based on mammography image features and patient age was statistically equivalent (P > 0.05). Area under the receiver operating characteristics curve (AUROC) for the logistic regression with elastic net penalty was 0.89 (95% CI 0.85 – 0.94), for the Extreme Gradient Boosting Tree 0.88 (95% CI 0.83 – 0.93), for the Multivariate Adaptive Regression Spline algorithm 0.88 (95% CI 0.83 – 0.93), for the Support Vector Machine 0.89 (95% CI 0.84 – 0.93), and for the neural network 0.89 (95% CI 0.84 – 0.93). Interpretation Our paper allows clinicians and medical researchers who are interested in using ML algorithms to understand and recreate the elements of a comprehensive ML analysis. Following our instructions may help to improve model generalizability and reproducibility in medical ML studies.
- Subjects :
- Machine learning
Artificial intelligence
Guideline
Medicine
Medicine (General)
R5-920
Subjects
Details
- Language :
- English
- ISSN :
- 14712288
- Volume :
- 22
- Issue :
- 1
- Database :
- Directory of Open Access Journals
- Journal :
- BMC Medical Research Methodology
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.53117cf7542f47709e0e92ac43b40c7f
- Document Type :
- article
- Full Text :
- https://doi.org/10.1186/s12874-022-01758-8