Salinity forecasting in Chao Phraya River using XGBoost with missing data handling
Jiramate Changklom , Trang Prommana , Phakawat Lamchuan , Adichai Pornprommin
AIMS Environmental Science ›› 2025, Vol. 12 ›› Issue (5) : 916 -935.
Machine learning models for water quality prediction often encounter challenges due to incomplete datasets resulting from issues such as sensor failures or data transmission errors. However, XGBoost can learn from incomplete data and make predictions even when some input values are missing, without requiring any manual intervention by the user. This offers a considerable advantage over other models that require complete datasets. To test this capability, we utilized XGBoost to forecast salinity levels in the Chao Phraya River, Thailand, based on investigating forecasts at lead times of 24 and 48 hours, using four predictors: the water levels from three stations and the salinity level. The tested model demonstrated high predictive performance across both complete and incomplete subsets of the data. Where the complete input dataset was available, our XGBoost model outperformed the single-level ANN model and was comparable to the multilevel ANN model. Additionally, we enhanced XGBoost’s ability to forecast under incomplete data conditions by utilizing both real and synthetic datasets. The synthetic dataset was generated by removing 1–3 predictor variables from the complete dataset. Based on the results, incorporating synthetic data into the training dataset substantially enhanced the model's robustness against missing data. Notably, training with synthetic data that excluded one variable at a time was sufficient for accurate predictions. These results underscore XGBoost’s practicality and reliability for real-world water quality forecasting, particularly under conditions of data scarcity.
XGBoost / missing data / salinity forecasting / Chao Phraya River
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
Nijman SWJ, Leeuwenberg AM, Beekers I, |
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
Petneházi G (2019) Recurrent neural networks for time series forecasting. arXiv preprint arXiv:1901.00069. https://doi.org/10.48550/arXiv.1901.00069 |
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
Metropolitan Waterworks Authority. (2022). MWA Consumer Confidence Report 2022 . Available from: https://www.mwa.co.th/wp-content/uploads/2023-03-2022-Annual-Water-Quality-Report-%E0%B8%AD%E0%B8%B1%E0%B8%87%E0%B8%81%E0%B8%A4%E0%B8%A9.pdf |
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
|
| [39] |
|
| [40] |
|
/
| 〈 |
|
〉 |