Abstract
Rock materials exhibit complex mechanical responses due to their heterogeneity and anisotropy, while traditional stress–strain models can only partially describe their behaviour and encounter limitations in handling complex nonlinear relationships. This study proposes a multi-model stacking fusion framework integrating random forest, LightGBM, and Extreme Gradient Boosting with Bayesian optimisation for stress–strain relationship prediction across five rock failure stages. The Stacking ensemble framework relies on the noise resistance of random forest to address overfitting and integrates the advantages of Extreme Gradient Boosting and LightGBM in capturing complex feature interactions, effectively overcoming the poor generalisation of single models. A dual-validation scheme (five-fold out-of-fold cross-validation combined with an independent validation set) was employed to generate unbiased meta-features and robustly assess model generalisation. Selected meta-learners (linear model, Lasso, and ridge) further integrate these base learner outputs to more precisely capture the complex relationships of rock mechanical behaviour. The proposed framework was trained and validated using a dataset comprising over 218,000 data samples collected from sandstone and mudstone samples from the Yuanzigou coal mine. Taylor-diagram analysis demonstrated the Stacking ensemble framework's superior robustness and improved generalisation. The Stacking-Lasso hybrid model demonstrates outstanding predictive performance of stress–strain relationship with R2 of 0.942 (pre-peak) and 0.931 (post-peak), alongside mean absolute error of 0.0128/0.0565, mean squared error of 2.54 × 10−4/5.0 × 10−3, mean absolute percentage error of 0.051, and root mean square deviation of 0.0138/0.0707 in pre- and post-peak regimes, respectively. SHapley Additive exPlanations feature importance analysis reveals that axial stress (
Get full access to this article
View all access options for this article.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
