Research Article
Prediction of Mg Alloy Corrosion Based on Machine Learning Models
Table 5
Prediction accuracy of each algorithm (the R2 and MAE calculation results for each optimized model in the training set and testing set).
| Models | Ecorr | Icorr | R2 | MAE | R2 | MAE | Training set | Testing set | Training set | Testing set | Training set | Testing set | Training set | Testing set |
| RF | 0.850 | 0.660 | 0.028 | 0.056 | 0.790 | 0.610 | 0.030 | 0.070 | MLR | 0.470 | 0.260 | 0.069 | 0.100 | 0.210 | 0.140 | 0.080 | 0.093 | SVR | 0.520 | 0.350 | 0.071 | 0.089 | 0.450 | 0.370 | 0.080 | 0.085 | XGBoost | 0.940 | 0.530 | 0.022 | 0.063 | 0.950 | 0.480 | 0.019 | 0.078 |
|
|