Objective <p>This study aimed to develop and validate a machine learning (ML)-based model for predicting the risk of gestational diabetes mellitus (GDM) using 45 dietary nutrients and baseline data.</p> Methods <p>A retrospective analysis was conducted on 3,649 pregnant women from the NHANES database (2007–2018). Baseline data (age, race/ethnicity, BMI, etc.) and 45 dietary nutrients were collected. The Synthetic Minority Oversampling Technique (SMOTE) was applied after the train-test split to address class imbalance. Feature selection used Variance Inflation Factor (VIF) to reduce multicollinearity and the Boruta algorithm to identify core predictors. Six ML models (XGBoost, LightGBM, RF, SVM, GNB, KNN) were trained. Performance was evaluated via AUC, accuracy, sensitivity, specificity, F-Beta score (β = 2), and PR-AUC. SHAP analysis clarified feature importance.</p> Results <p>Core predictors included race/ethnicity, BMI, protein, dietary fiber, α-carotene, β-carotene, lutein/zeaxanthin, folate (DFE), calcium, phosphorus, zinc, potassium, alcohol intake, educational level, and smoking status. XGBoost performed best in the validation set (accuracy: 93.1%, F-Beta: 0.943, AUC: 0.966, sensitivity: 97.5%, specificity: 86.7%, PR-AUC: 0.967), followed by LightGBM (accuracy: 92.6%) and RF (accuracy: 91.4%). GNB was poorest (accuracy: 57.3%, AUC: 0.658). SHAP identified educational level, race/ethnicity, lycopene, and smoking status as top contributors.</p> Conclusion <p>ML models integrating demographics and 45 dietary nutrients accurately predict GDM. XGBoost, LightGBM, and RF excel, with XGBoost being most effective, supporting early GDM detection in clinical practice.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Construction of an interpretable machine learning model for predicting gestational diabetes mellitus based on 45 dietary nutrients

  • Zhihui Xiong,
  • Yi Yuan,
  • Zhouhui Yun,
  • Lijie Li,
  • Yunmeng Chen

摘要

Objective

This study aimed to develop and validate a machine learning (ML)-based model for predicting the risk of gestational diabetes mellitus (GDM) using 45 dietary nutrients and baseline data.

Methods

A retrospective analysis was conducted on 3,649 pregnant women from the NHANES database (2007–2018). Baseline data (age, race/ethnicity, BMI, etc.) and 45 dietary nutrients were collected. The Synthetic Minority Oversampling Technique (SMOTE) was applied after the train-test split to address class imbalance. Feature selection used Variance Inflation Factor (VIF) to reduce multicollinearity and the Boruta algorithm to identify core predictors. Six ML models (XGBoost, LightGBM, RF, SVM, GNB, KNN) were trained. Performance was evaluated via AUC, accuracy, sensitivity, specificity, F-Beta score (β = 2), and PR-AUC. SHAP analysis clarified feature importance.

Results

Core predictors included race/ethnicity, BMI, protein, dietary fiber, α-carotene, β-carotene, lutein/zeaxanthin, folate (DFE), calcium, phosphorus, zinc, potassium, alcohol intake, educational level, and smoking status. XGBoost performed best in the validation set (accuracy: 93.1%, F-Beta: 0.943, AUC: 0.966, sensitivity: 97.5%, specificity: 86.7%, PR-AUC: 0.967), followed by LightGBM (accuracy: 92.6%) and RF (accuracy: 91.4%). GNB was poorest (accuracy: 57.3%, AUC: 0.658). SHAP identified educational level, race/ethnicity, lycopene, and smoking status as top contributors.

Conclusion

ML models integrating demographics and 45 dietary nutrients accurately predict GDM. XGBoost, LightGBM, and RF excel, with XGBoost being most effective, supporting early GDM detection in clinical practice.