Machine Learning Models for Data-Driven Prediction of Diabetes by Lifestyle Type
Open Access
- 15 November 2022
- journal article
- research article
- Published by MDPI AG in International Journal of Environmental Research and Public Health
- Vol. 19 (22) , 15027
Abstract
The prevalence of diabetes has been increasing in recent years, and previous research has found that machine-learning models are good diabetes prediction tools. The purpose of this study was to compare the efficacy of five different machine-learning models for diabetes prediction using lifestyle data from the National Health and Nutrition Examination Survey (NHANES) database. The 1999–2020 NHANES database yielded data on 17,833 individuals data based on demographic characteristics and lifestyle-related variables. To screen training data for machine models, the Akaike Information Criterion (AIC) forward propagation algorithm was utilized. For predicting diabetes, five machine-learning models (CATBoost, XGBoost, Random Forest (RF), Logistic Regression (LR), and Support Vector Machine (SVM)) were developed. Model performance was evaluated using accuracy, sensitivity, specificity, precision, F1 score, and receiver operating characteristic (ROC) curve. Among the five machine-learning models, the dietary intake levels of energy, carbohydrate, and fat, contributed the most to the prediction of diabetes patients. In terms of model performance, CATBoost ranks higher than RF, LG, XGBoost, and SVM. The best-performing machine-learning model among the five is CATBoost, which achieves an accuracy of 82.1% and an AUC of 0.83. Machine-learning models based on NHANES data can assist medical institutions in identifying diabetes patients.Keywords
Funding Information
- National Natural Science Foundation of China (11002036)
- Research Foundation for Young Teacher of Shenzhen University (QNJS0274)
- High-level Scientific Research Foundation for the Introduction of Talent of Shenzhen University (RC00228)
- Natural Science Featured Innovation Projects in Ordinary Universities in Guangdong Province (2021KTSCX297)
- Scientific Research Platform and Project of Colleges and Universities of Education Department of Guangdong Province (2022ZDZX2087)
This publication has 50 references indexed in Scilit:
- Performance analysis and prediction of type 2 diabetes mellitus based on lifestyle data using machine learning approachesJournal of Diabetes & Metabolic Disorders, 2022
- Machine learning for prediction of diabetes risk in middle-aged Swedish peopleHeliyon, 2021
- Early diagnosis model of Alzheimer’s disease based on sparse logistic regression with the generalized elastic netBiomedical Signal Processing and Control, 2021
- Prediction of diabetes using logistic regression and ensemble techniquesComputer Methods and Programs in Biomedicine Update, 2021
- Overly optimistic prediction results on imbalanced data: a case study of flaws and benefits when applying over-samplingArtificial Intelligence in Medicine, 2021
- Feature subset selection via an improved discretization-based particle swarm optimizationApplied Soft Computing, 2021
- Accurate Diabetes Risk Stratification Using Machine Learning: Role of Missing Value and OutliersJournal of Medical Systems, 2018
- Physical activity and incident type 2 diabetes mellitus: a systematic review and dose–response meta-analysis of prospective cohort studiesDiabetologia, 2016
- Bagging predictorsMachine Learning, 1996
- Support-vector networksMachine Learning, 1995