Cargando…

Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia

Background: The ability to assess adverse outcomes in patients with community-acquired pneumonia (CAP) could improve clinical decision-making to enhance clinical practice, but the studies remain insufficient, and similarly, few machine learning (ML) models have been developed. Objective: We aimed to...

Descripción completa

Detalles Bibliográficos
Autores principales: Xu, Zhixiao, Guo, Kun, Chu, Weiwei, Lou, Jingwen, Chen, Chengshui
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9278327/
https://www.ncbi.nlm.nih.gov/pubmed/35845426
http://dx.doi.org/10.3389/fbioe.2022.903426
_version_ 1784746164586807296
author Xu, Zhixiao
Guo, Kun
Chu, Weiwei
Lou, Jingwen
Chen, Chengshui
author_facet Xu, Zhixiao
Guo, Kun
Chu, Weiwei
Lou, Jingwen
Chen, Chengshui
author_sort Xu, Zhixiao
collection PubMed
description Background: The ability to assess adverse outcomes in patients with community-acquired pneumonia (CAP) could improve clinical decision-making to enhance clinical practice, but the studies remain insufficient, and similarly, few machine learning (ML) models have been developed. Objective: We aimed to explore the effectiveness of predicting adverse outcomes in CAP through ML models. Methods: A total of 2,302 adults with CAP who were prospectively recruited between January 2012 and March 2015 across three cities in South America were extracted from DryadData. After a 70:30 training set: test set split of the data, nine ML algorithms were executed and their diagnostic accuracy was measured mainly by the area under the curve (AUC). The nine ML algorithms included decision trees, random forests, extreme gradient boosting (XGBoost), support vector machines, Naïve Bayes, K-nearest neighbors, ridge regression, logistic regression without regularization, and neural networks. The adverse outcomes included hospital admission, mortality, ICU admission, and one-year post-enrollment status. Results: The XGBoost algorithm had the best performance in predicting hospital admission. Its AUC reached 0.921, and accuracy, precision, recall, and F1-score were better than those of other models. In the prediction of ICU admission, a model trained with the XGBoost algorithm showed the best performance with AUC 0.801. XGBoost algorithm also did a good job at predicting one-year post-enrollment status. The results of AUC, accuracy, precision, recall, and F1-score indicated the algorithm had high accuracy and precision. In addition, the best performance was seen by the neural network algorithm when predicting death (AUC 0.831). Conclusions: ML algorithms, particularly the XGBoost algorithm, were feasible and effective in predicting adverse outcomes of CAP patients. The ML models based on available common clinical features had great potential to guide individual treatment and subsequent clinical decisions.
format Online
Article
Text
id pubmed-9278327
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-92783272022-07-14 Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia Xu, Zhixiao Guo, Kun Chu, Weiwei Lou, Jingwen Chen, Chengshui Front Bioeng Biotechnol Bioengineering and Biotechnology Background: The ability to assess adverse outcomes in patients with community-acquired pneumonia (CAP) could improve clinical decision-making to enhance clinical practice, but the studies remain insufficient, and similarly, few machine learning (ML) models have been developed. Objective: We aimed to explore the effectiveness of predicting adverse outcomes in CAP through ML models. Methods: A total of 2,302 adults with CAP who were prospectively recruited between January 2012 and March 2015 across three cities in South America were extracted from DryadData. After a 70:30 training set: test set split of the data, nine ML algorithms were executed and their diagnostic accuracy was measured mainly by the area under the curve (AUC). The nine ML algorithms included decision trees, random forests, extreme gradient boosting (XGBoost), support vector machines, Naïve Bayes, K-nearest neighbors, ridge regression, logistic regression without regularization, and neural networks. The adverse outcomes included hospital admission, mortality, ICU admission, and one-year post-enrollment status. Results: The XGBoost algorithm had the best performance in predicting hospital admission. Its AUC reached 0.921, and accuracy, precision, recall, and F1-score were better than those of other models. In the prediction of ICU admission, a model trained with the XGBoost algorithm showed the best performance with AUC 0.801. XGBoost algorithm also did a good job at predicting one-year post-enrollment status. The results of AUC, accuracy, precision, recall, and F1-score indicated the algorithm had high accuracy and precision. In addition, the best performance was seen by the neural network algorithm when predicting death (AUC 0.831). Conclusions: ML algorithms, particularly the XGBoost algorithm, were feasible and effective in predicting adverse outcomes of CAP patients. The ML models based on available common clinical features had great potential to guide individual treatment and subsequent clinical decisions. Frontiers Media S.A. 2022-06-29 /pmc/articles/PMC9278327/ /pubmed/35845426 http://dx.doi.org/10.3389/fbioe.2022.903426 Text en Copyright © 2022 Xu, Guo, Chu, Lou and Chen. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Bioengineering and Biotechnology
Xu, Zhixiao
Guo, Kun
Chu, Weiwei
Lou, Jingwen
Chen, Chengshui
Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title_full Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title_fullStr Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title_full_unstemmed Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title_short Performance of Machine Learning Algorithms for Predicting Adverse Outcomes in Community-Acquired Pneumonia
title_sort performance of machine learning algorithms for predicting adverse outcomes in community-acquired pneumonia
topic Bioengineering and Biotechnology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9278327/
https://www.ncbi.nlm.nih.gov/pubmed/35845426
http://dx.doi.org/10.3389/fbioe.2022.903426
work_keys_str_mv AT xuzhixiao performanceofmachinelearningalgorithmsforpredictingadverseoutcomesincommunityacquiredpneumonia
AT guokun performanceofmachinelearningalgorithmsforpredictingadverseoutcomesincommunityacquiredpneumonia
AT chuweiwei performanceofmachinelearningalgorithmsforpredictingadverseoutcomesincommunityacquiredpneumonia
AT loujingwen performanceofmachinelearningalgorithmsforpredictingadverseoutcomesincommunityacquiredpneumonia
AT chenchengshui performanceofmachinelearningalgorithmsforpredictingadverseoutcomesincommunityacquiredpneumonia