Research Article

Optimization of Tree-Based Machine Learning Models to Predict the Length of Hospital Stay Using Genetic Algorithm

Table 7

Absolute error indices of predictive models on the test dataset.

No.ModelMean (day)Median (day)SD (day)IQR (day)Min (day)Max (day)

1KNN1.781.751.501.750.006.33
2Lm1.561.331.141.560.004.56
3Lm_transformed1.521.191.261.370.105.19
4DT_default2.152.001.791.000.007.00
5DT_GA1.951.651.612.000.356.35
6RF_default1.651.021.471.870.095.71
7RF_GA1.761.341.421.500.045.57
8XGBoost_default2.452.561.932.540.007.67
9XGBoost_GA1.541.141.381.260.045.68
10ANN1.611.201.201.750.034.71