Cargando…

Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison

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 exam...

Descripción completa

Detalles Bibliográficos
Autores principales: Pfob, André, Lu, Sheng-Chieh, Sidey-Gibbons, Chris
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9624048/
https://www.ncbi.nlm.nih.gov/pubmed/36319956
http://dx.doi.org/10.1186/s12874-022-01758-8
_version_ 1784822146507210752
author Pfob, André
Lu, Sheng-Chieh
Sidey-Gibbons, Chris
author_facet Pfob, André
Lu, Sheng-Chieh
Sidey-Gibbons, Chris
author_sort Pfob, André
collection PubMed
description 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-022-01758-8.
format Online
Article
Text
id pubmed-9624048
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-96240482022-11-02 Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison Pfob, André Lu, Sheng-Chieh Sidey-Gibbons, Chris BMC Med Res Methodol Research 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-022-01758-8. BioMed Central 2022-11-01 /pmc/articles/PMC9624048/ /pubmed/36319956 http://dx.doi.org/10.1186/s12874-022-01758-8 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
spellingShingle Research
Pfob, André
Lu, Sheng-Chieh
Sidey-Gibbons, Chris
Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title_full Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title_fullStr Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title_full_unstemmed Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title_short Machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
title_sort machine learning in medicine: a practical introduction to techniques for data pre-processing, hyperparameter tuning, and model comparison
topic Research
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9624048/
https://www.ncbi.nlm.nih.gov/pubmed/36319956
http://dx.doi.org/10.1186/s12874-022-01758-8
work_keys_str_mv AT pfobandre machinelearninginmedicineapracticalintroductiontotechniquesfordatapreprocessinghyperparametertuningandmodelcomparison
AT lushengchieh machinelearninginmedicineapracticalintroductiontotechniquesfordatapreprocessinghyperparametertuningandmodelcomparison
AT sideygibbonschris machinelearninginmedicineapracticalintroductiontotechniquesfordatapreprocessinghyperparametertuningandmodelcomparison