XGBoost-Based Prediction of Velocity Distribution in an Open-Channel Bend and Multilevel SHAP Interpretation of Hydrodynamic Mechanisms
Open Access
Abstract
Velocity distributions in curved open-channel flows exhibit strong three-dimensionality and nonlinear behavior, posing challenges to both accurate prediction and physical interpretation. Using measured velocity data from nine discharge–water-depth combinations in a laboratory 180° open-channel bend, this study developed an integrated eXtreme Gradient Boosting (XGBoost)–SHapley Additive exPlanations (SHAP) framework, with multiple linear regression (MLR), random forest (RF), and a back-propagation neural network (BPNN) used for comparison. Leave-one-condition-out cross-validation was used to evaluate the predictive accuracy and stability of the four models. A stratified sampling strategy was then adopted to construct the training dataset, allowing information from all flow regimes to contribute to robust parameter calibration; the two data-partitioning strategies yielded broadly comparable predictive performance. Using models trained with stratified sampling, multidimensional model evaluation was further conducted using global statistical metrics, segment-wise predictive performance, held-out extreme-condition tests, and measured–predicted agreement, among other criteria, with XGBoost consistently showing the best performance. Multilevel SHAP analyses quantified global feature importance, pairwise interactions, streamwise variations in feature contributions, SHAP–PDP dependence relationships, and condition-specific attribution. The SHAP results indicate a two-level attribution structure in the model: hydraulic variables jointly define the global velocity baseline, and their contribution signs can switch between positive and negative. Spatial variables characterize cross-sectional velocity redistribution. Strong discharge–depth interaction is associated with width-to-depth-ratio-dependent adjustment of the bend flow field. The proposed framework establishes a complete experiment-driven prediction–mechanism interpretation workflow for sharply curved open-channel flow and provides new quantitative insight into model-represented multifactor hydrodynamic interactions in open-channel bends.Keywords
Funding Information
- Education Department of Ningxia Hui Autonomous Region (NYG2024085)
- National Natural Science Foundation of China (12461084)
- Science and Technology Department of Ningxia Province (2026AAC030138)
This publication has 43 references indexed in Scilit:
- Numerical simulation of the effects of particle density and size on particle distribution in a laboratory-scale curved open-channel flowAdvances in Water Resources, 2025
- Contributions of artificial intelligence to dam monitoring: a literature reviewAsian Journal of Civil Engineering, 2025
- Experimental and numerical investigation of water flow behaviour in sharply curved 60° open‐channel bendsEarth Surface Processes and Landforms, 2024
- Investigation on the width-to-depth ratio effect on turbulent flows in a sharp meandering channel with periodic boundaries using large eddy simulationsJournal of Hydrodynamics, 2024
- Evaluation of water quality based on artificial intelligence: performance of multilayer perceptron neural networks and multiple linear regression versus water quality indexesEnvironment, Development and Sustainability, 2024
- Applications of XGBoost in water resources engineering: A systematic literature review (Dec 2018–May 2023)Environmental Modelling & Software, 2024
- Prediction of phytoplankton biomass and identification of key influencing factors using interpretable machine learning modelsEcological Indicators, 2023
- A constrained optimization method based on BP neural networkNeural Computing and Applications, 2016
- Flow separation at the inner (convex) and outer (concave) banks of constant‐width and widening open‐channel bendsEarth Surface Processes and Landforms, 2012
- An optimizing BP neural network algorithm based on genetic algorithmArtificial Intelligence Review, 2011