| Literature DB >> 32686721 |
Leon Kopitar1, Primoz Kocbek2, Leona Cilar2, Aziz Sheikh3,4, Gregor Stiglic2,5.
Abstract
Most screening tests for T2DM in use today were developed using multivariate regression methods that are often further simplified to allow transformation into a scoring formula. The increasing volume of electronically collected data opened the opportunity to develop more complex, accurate prediction models that can be continuously updated using machine learning approaches. This study compares machine learning-based prediction models (i.e. Glmnet, RF, XGBoost, LightGBM) to commonly used regression models for prediction of undiagnosed T2DM. The performance in prediction of fasting plasma glucose level was measured using 100 bootstrap iterations in different subsets of data simulating new incoming data in 6-month batches. With 6 months of data available, simple regression model performed with the lowest average RMSE of 0.838, followed by RF (0.842), LightGBM (0.846), Glmnet (0.859) and XGBoost (0.881). When more data were added, Glmnet improved with the highest rate (+ 3.4%). The highest level of variable selection stability over time was observed with LightGBM models. Our results show no clinically relevant improvement when more sophisticated prediction models were used. Since higher stability of selected variables over time contributes to simpler interpretation of the models, interpretability and model calibration should also be considered in development of clinical prediction models.Entities:
Mesh:
Substances:
Year: 2020 PMID: 32686721 PMCID: PMC7371679 DOI: 10.1038/s41598-020-68771-z
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Summary information for participants with normal fasting glucose (NFG) and impaired fasting glucose (IFG) used in the study for each period separately.
| PERIOD | IFG FPGL | NFG FPGL < 6.1 mmol/L (n = 2674, 71.8%) | Number of samples (n) |
|---|---|---|---|
| T6 | 257 (28.9%) | 635 (72.2%) | 892 |
| T12 | 426 (26.4%) | 1185 (73.6%) | 1611 |
| T18 | 634 (26.8%) | 1735 (73.2%) | 2369 |
| T24 | 798 (27.4%) | 2117 (72.6%) | 2915 |
| T30 | 1020 (28.5%) | 2560 (71.5%) | 3580 |
Description of methods used for calculating variable importance.
| Prediction model | Variable importance method |
|---|---|
| lm | Variables were ranked according to the absolute value of |
| RF | Variables were ranked according to the increase in mean squared error (MSE), more precisely, the percentage of increase in MSE was calculated ( |
| XGBoost | Variables were ranked based on the average gain in 100 bootstrap iterations where gain represents a contribution in accuracy brought by a corresponding variable to a model |
| Glmnet | Fitted coefficients of variables were first standardised (i.e. each coefficient was multiplied by the standard deviation of the variable) and then ranked according to the coefficients value |
| LightGBM | Variables were ranked on the basis of the average gain over 100 bootstrap iterations where gain is a variable contribution to the model, measured by a variance after splitting. In LightGBM, the split point is determined by the estimated variance gain which is applied over a smaller subset. A study by Ke et al. provides more detailed information on calculating an estimated variance gain |
Figure 1Flow diagram of data pre-processing.
Figure 2Variable importance. Ranking of variables for Glmnet (A), LightGBM (B), Random Forest (C) and XGBoost (D) over the observed period (T6–T30).
Figure 3Actual vs. predicted plots. Visualisation of actual vs. predicted values for all predictive models (lm, Glmnet, LightGBM, RF, XGBoost) in three time points (T6, T18 and T30) reveal discrepancies in calibration of the compared models. Additional classification performance results in terms of TP, FP, TN and FN are provided where it can be seen that lm, Glmnet and RF outperformed both boosting based methods by identifying more TP as well as TN cases. Model-time point combinations are represented in the following way: lm 6, 18 and 30 months (A–C), Glmnet 6, 18 and 30 months (D–F), LightGBM 6, 18 and 30 months (G–I), RF 6, 18 and 30 months (J–L), XGBoost 6, 8 and 30 months (M–O).
Coefficients of determination () of prediction models at three time points (T6, T18 and T30).
| Prediction model | T6 | T18 | T30 |
|---|---|---|---|
| lm | 0.310 [0.301, 0.319] | 0.326 [0.319, 0.332] | 0.358 [0.351, 0.365] |
| Glmnet | 0.281 [0.269, 0.293] | 0.330 [0.322, 0.337] | 0.366 [0.358, 0.373] |
| LightGBM | 0.293 [0.284, 0.302] | 0.316 [0.308, 0.323] | 0.348 [0.341, 0.355] |
| RF | 0.305 [0.297, 0.314] | 0.340 [0.333, 0.348] | 0.369 [0.362, 0.376] |
| XGBoost | 0.241 [0.232, 0.249] | 0.293 [0.286, 0.300] | 0.343 [0.336, 0.349] |
Results are shown as average values with corresponding 95% CI.
Area under the curve (AUC) of prediction models at three time points (T6, T12, T18, T24 and T30).
| AUC | |||||
|---|---|---|---|---|---|
| Prediction model | T6 | T12 | T18 | T24 | T30 |
| lm | 0.817 [0.812, 0.821] | 0.813 [0.809, 0.816] | 0.835 [0.833, 0.838] | 0.842 [0.840, 0.844] | 0.854 [0.852, 0.856] |
| Glmnet | 0.818 [0.813, 0.822] | 0.815 [0.811, 0.819] | 0.841 [0.839, 0.844] | 0.847 [0.845, 0.850] | 0.859 [0.857, 0.861] |
| LightGBM | 0.807 [0.803, 0.812] | 0.808 [0.804, 0.811] | 0.827 [0.825, 0.830] | 0.837 [0.834, 0.839] | 0.847 [0.845, 0.849] |
| RF | 0.819 [0.815, 0.823] | 0.810 [0.807, 0.814] | 0.833 [0.831, 0.836] | 0.840 [0.838, 0.843] | 0.852 [0.850, 0.854] |
| XGBoost | 0.789 [0.784, 0.794] | 0.785 [0.782, 0.789] | 0.820 [0.817, 0.823] | 0.833 [0.831, 0.835] | 0.844 [0.842, 0.846] |
Results are shown as average values with corresponding 95% CI.
Area under the precision-recall curve (AUPRC) of prediction models at three time points (T6, T12, T18, T24 and T30).
| AUPRC | |||||
|---|---|---|---|---|---|
| Prediction model | T6 | T12 | T18 | T24 | T30 |
| lm | 0.671 [0.664,0.678] | 0.642 [0.636,0.648] | 0.697 [0.693,0.702] | 0.717 [0.713,0.721] | 0.747 [0.743,0.751] |
| Glmnet | 0.658 [0.651,0.666] | 0.634 [0.627,0.641] | 0.696 [0.692,0.701] | 0.710 [0.705,0.715] | 0.740 [0.736,0.744] |
| LightGBM | 0.641 [0.633,0.649] | 0.616 [0.610,0.623] | 0.673 [0.668,0.678] | 0.695 [0.690,0.699] | 0.723 [0.719,0.727] |
| RF | 0.648 [0.640,0.656] | 0.614 [0.607,0.621] | 0.683 [0.678,0.688] | 0.694 [0.690,0.699] | 0.723 [0.719,0.727] |
| XGBoost | 0.632 [0.623,0.640] | 0.600 [0.594,0.607] | 0.656 [0.651,0.661] | 0.685 [0.680,0.689] | 0.715 [0.711,0.719] |
Results are shown as average values with corresponding 95% CI.
Root mean square error (RMSE) of prediction models at three time points (T6, T18 and T30).
| RMSE | |||
|---|---|---|---|
| Prediction model | T6 | T18 | T30 |
| lm | 0.838 [0.814, 0.862] | 0.790 [0.774, 0.806] | 0.751 [0.738, 0.763] |
| Glmnet | 0.859 [0.834, 0.884] | 0.788 [0.772, 0.804] | 0.747 [0.734, 0.759] |
| LightGBM | 0.846 [0.821, 0.871] | 0.796 [0.780, 0.813] | 0.758 [0.745, 0.770] |
| RF | 0.842 [0.818, 0.866] | 0.782 [0.766, 0.798] | 0.745 [0.733, 0.757] |
| XGBoost | 0.881 [0.856, 0.907] | 0.809 [0.793, 0.825] | 0.760 [0.748, 0.772] |
Results are shown as average values with corresponding 95% CI.