Prediction Method of Rock Uniaxial Compressive Strength Based on Feature Optimization and SSA-XGBoost
Abstract
:1. Introduction
2. Prediction Methodology for Uniaxial Compressive Strength of Rock
- (1)
- UCS predictor system determination: The UCS predictor system of rocks was determined in terms of both petrographic characteristics and physical characteristics.
- (2)
- Feature selection: The RReliefF algorithm combined with the Pearson correlation coefficient was used to test the validity and select each input feature of the UCS predictor system, and then the input features used for training the prediction model were determined.
- (3)
- SSA-XGBoost model construction: Using the global optimization ability of the Sparrow Search Algorithm, the hyperparameters of XGBoost were continuously optimized iteratively in the set search space to acquire the optimal hyperparameter combinations, so as to establish the optimal SSA-XGBoost UCS prediction model.
- (4)
- Model evaluation: The coefficient of determination (R2), the root-mean-square error (RMSE), and the mean absolute percentage error (MAPE) were selected as evaluation indices to evaluate the performance of the SSA-XGBoost compressive strength prediction model.
2.1. UCS Predictor System Determination
2.1.1. Petrographic Characteristics
2.1.2. Physical Characteristics
2.2. Feature Selection
2.3. SSA-XGBoost Model Construction
- (1)
- Standardize the data for each input feature, and then split the dataset with a training-to-test ratio of 8:2.
- (2)
- The sparrow population and the model-related parameters are initialized.
- (3)
- Using the Sparrow Search Algorithm (SSA), calculate the fitness value of each individual sparrow and record the best position.
- (4)
- Based on the rules of the Sparrow Search Algorithm, update the positions of producers, scroungers, and sparrows who perceive the danger to search for the optimal hyperparameters and model structure.
- (5)
- Determine whether the stopping conditions of the algorithm are met. If so, output the optimized hyperparameters; otherwise, return to Step 2 and continue the iterative optimization process.
- (6)
- Apply the acquired optimal combination of hyperparameters to the XGBoost algorithm and retrain the model to generate the SSA-XGBoost rock UCS prediction model.
2.4. Model Evaluation
3. Case Study and Application
3.1. UCS Predictor System Determination
3.2. Feature Selection
3.3. SSA-XGBoost Model Construction
3.4. Model Evaluation
4. Discussion
4.1. Comparison of the Performance of XGBoost and SSA-XGBoost
4.2. Comparison of the Performance of Different Feature Indices
4.3. Prospects for Rock UCS Prediction
5. Conclusions
- (1)
- The method for predicting the UCS of rocks based on feature optimization and SSA-XGBoost mainly consists of four parts: UCS predictor system determination, feature selection, SSA-XGBoost model construction, and model evaluation. The rock UCS predictor system, considering petrographic and physical parameters, was determined based on the systematic discussion of the factors affecting the UCS of rocks, and a feature selection method combining the RReliefF algorithm and Pearson correlation coefficient was proposed.
- (2)
- This method was applied and validated in a granitic tunnel. The results show that the coefficient of determination of the UCS prediction model based on SSA-XGBoost is 0.939, the root-mean-square error is 1.01, and the mean absolute percentage error is 1.06%. The established UCS prediction model based on SSA-XGBoost can effectively predict the UCS of granitic rocks.
- (3)
- Compared with simply adopting petrographic or physical parameters as the input features of the model, the UCS predictor system considering petrographic and physical characteristics can effectively improve the generalization ability of the prediction model. The predictor system proposed in this study is reasonable and can provide some reference for establishing a universal method for accurately and quickly predicting the UCS of rocks.
- (4)
- Since the SSA-XGBoost rock UCS prediction model relied only on the granitic rock dataset for training and validation, its generalizability needs to be further verified. However, based on specific projects and datasets of rocks, engineers can effectively utilize this method to establish a rock UCS prediction model that is suitable for their project.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Bieniawski, Z.T. Estimating the strength of rock materials. J. South Afr. Inst. Min. Metall. 1974, 74, 312–320. [Google Scholar] [CrossRef]
- Dehghan, S.; Sattari, G.; Chehreh Chelgani, S.; Aliabadi, M.A. Prediction of uniaxial compressive strength and modulus of elasticity for Travertine samples using regression and artificial neural networks. Min. Sci. Technol. 2010, 20, 41–46. [Google Scholar] [CrossRef]
- Rabbani, E.; Sharif, F.; Koolivand Salooki, M.; Moradzadeh, A. Application of neural network technique for prediction of uniaxial compressive strength using reservoir formation properties. Int. J. Rock Mech. Min. 2012, 56, 100–111. [Google Scholar] [CrossRef]
- Mohamad, E.T.; Armaghani, D.J.; Momeni, E.; Abad, S.V.A.N. Prediction of the unconfined compressive strength of soft rocks; a PSO-based ANN approach. Bull. Eng. Geol. Environ. 2015, 74, 745–757. [Google Scholar] [CrossRef]
- Aboutaleb, S.; Bagherpour, R.; Behnia, M.; Aghababaei, M. Combination of the physical and ultrasonic tests in estimating the uniaxial compressive strength and Young’s modulus of intact limestone rocks. Geotech. Geol. Eng. 2017, 35, 3015–3023. [Google Scholar] [CrossRef]
- Fang, Q.; Yazdani Bejarbaneh, B.; Vatandoust, M.; Jahed Armaghani, D.; Ramesh Murlidhar, B.; Tonnizam Mohamad, E. Strength evaluation of granite block samples with different predictive models. Eng. Comput. 2021, 37, 891–908. [Google Scholar] [CrossRef]
- Zorlu, K.; Gokceoglu, C.; Ocakoglu, F.; Nefeslioglu, H.A.; Acikalin, S. Prediction of uniaxial compressive strength of sandstones using petrography-based models. Eng. Geol. 2008, 96, 141–158. [Google Scholar] [CrossRef]
- Yesiloglu-Gultekin, N.; Gokceoglu, C.; Sezer, E.A. Prediction of uniaxial compressive strength of granitic rocks by various nonlinear tools and comparison of their performances. Int. J. Rock Mech. Min. 2013, 62, 113–122. [Google Scholar] [CrossRef]
- Yesiloglu-Gultekin, N.; Sezer, E.A.; Gokceoglu, C.; Bayhan, H. An application of adaptive neuro fuzzy inference system for estimating the uniaxial compressive strength of certain granitic rocks from their mineral contents. Expert Syst. Appl. 2013, 40, 921–928. [Google Scholar] [CrossRef]
- Khanlari, G.R.; Heidari, M.; Noori, M.; Momeni, A. The Effect of Petrographic Characteristics on Engineering Properties of Conglomerates from Famenin Region, Northeast of Hamedan, Iran. Rock Mech. Rock Eng. 2016, 49, 2609–2621. [Google Scholar] [CrossRef]
- Saedi, B.; Mohammadi, S.D. Prediction of Uniaxial Compressive Strength and Elastic Modulus of Migmatites by Microstructural Characteristics Using Artificial Neural Networks. Rock Mech. Rock Eng. 2021, 54, 5617–5637. [Google Scholar] [CrossRef]
- He, C.; Mishra, B.; Shi, Q.; Zhao, Y.; Lin, D.; Wang, X. Correlations between mineral composition and mechanical properties of granite using digital image processing and discrete element method. Int. J. Min. Sci. Technol. 2023, 33, 949–962. [Google Scholar] [CrossRef]
- Tugrul, A.; Zarif, I.H. Correlation of mineralogical and textural characteristics with engineering properties of selected granitic rocks from Turkey. Eng. Geol. 1999, 51, 303–317. [Google Scholar] [CrossRef]
- Prikryl, R. Some microstructural aspects of strength variation in rocks. Int. J. Rock Mech. Min. Sci. 2001, 38, 671–682. [Google Scholar] [CrossRef]
- Güneş Yılmaz, N.; Mete Goktan, R.; Kibici, Y. Relations between some quantitative petrographic characteristics and mechanical strength properties of granitic building stones. Int. J. Rock Mech. Min. 2011, 48, 506–513. [Google Scholar] [CrossRef]
- Ersoy, H.; Karahan, M.; Kolaylı, H.; Sünnetci, M.O. Influence of Mineralogical and Micro-Structural Changes on the Physical and Strength Properties of Post-thermal-Treatment Clayey Rocks. Rock Mech. Rock Eng. 2021, 54, 679–694. [Google Scholar] [CrossRef]
- Sajid, M.; Coggan, J.; Arif, M.; Andersen, J.; Rollinson, G. Petrographic features as an effective indicator for the variation in strength of granites. Eng. Geol. 2016, 202, 44–54. [Google Scholar] [CrossRef]
- Sun, Q.; Zhang, J.; Wang, Z.; Zhang, H.; Fang, J. Segment wear characteristics of diamond frame saw when cutting different granite types. Diam. Relat. Mater. 2016, 68, 143–151. [Google Scholar] [CrossRef]
- Yusof, N.Q.A.M.; Zabidi, H. Correlation of Mineralogical and Textural Characteristics with Engineering Properties of Granitic Rock from Hulu Langat, Selangor. Procedia Chem. 2016, 19, 975–980. [Google Scholar] [CrossRef]
- Hemmati, A.; Ghafoori, M.; Moomivand, H.; Lashkaripour, G.R. The effect of mineralogy and textural characteristics on the strength of crystalline igneous rocks using image-based textural quantification. Eng. Geol. 2020, 266, 105467. [Google Scholar] [CrossRef]
- Jamshidi, A. Predicting the Strength of Granitic Stones after Freeze–Thaw Cycles: Considering the Petrographic Characteristics and a New Approach Using Petro-Mechanical Parameter. Rock Mech. Rock Eng. 2021, 54, 2829–2841. [Google Scholar] [CrossRef]
- Přikryl, R. Assessment of rock geomechanical quality by quantitative rock fabric coefficients: Limitations and possible source of misinterpretations. Eng. Geol. 2006, 87, 149–162. [Google Scholar] [CrossRef]
- Nicksiar, M.; Martin, C.D. Factors affecting crack initiation in low porosity crystalline rocks. Rock Mech. Rock Eng. 2014, 47, 1165–1181. [Google Scholar] [CrossRef]
- Han, Z.; Zhang, L.; Zhou, J.; Yuan, G.; Wang, P. Uniaxial compression test and numerical studies of grain size effect on mechanical properties of granite. J. Eng. Geol. 2019, 27, 497–504. [Google Scholar]
- Wang, Y.; Wang, R.; Wang, J.; Li, N.; Cao, H. A Rock Mass Strength Prediction Method Integrating Wave Velocity and Operational Parameters Based on the Bayesian Optimization Catboost Algorithm. KSCE J. Civ. Eng. 2023, 27, 3148–3162. [Google Scholar] [CrossRef]
- Meng, Z.P.; Zhang, J.C.; Tiedemann, J. Relationship between physical and mechanical parameters and acoustic wave velocity of coal measures rocks. Chin. J. Geophys. 2006, 49, 1505–1510. [Google Scholar]
- Deng, H.; Li, J.; Deng, C.; Wang, L.; Lu, T. Analysis of sampling in rock mechanics test and compressive strength prediction methods. Rock Soil. Mech. 2011, 32, 3399–3403. [Google Scholar]
- Moradian, Z.A.; Behnia, M. Predicting the Uniaxial Compressive Strength and Static Young’s Modulus of Intact Sedimentary Rocks Using the Ultrasonic Test. Int. J. Geomech. 2009, 9, 14–19. [Google Scholar] [CrossRef]
- Sharma, P.K.; Singh, T.N. A correlation between P-wave velocity, impact strength index, slake durability index and uniaxial compressive strength. Bull. Eng. Geol. Environ. 2008, 67, 17–22. [Google Scholar] [CrossRef]
- Kahraman, S. Evaluation of simple methods for assessing the uniaxial compressive strength of rock. Int. J. Rock Mech. Min. Sci. 2001, 38, 981–994. [Google Scholar] [CrossRef]
- Yasar, E.; Erdogan, Y. Correlating sound velocity with the density, compressive strength and Young’s modulus of carbonate rocks. Int. J. Rock Mech. Min. 2004, 41, 871–875. [Google Scholar] [CrossRef]
- Uyanık, O.; Sabbağ, N.; Uyanık, N.A.; Öncü, Z. Prediction of mechanical and physical properties of some sedimentary rocks from ultrasonic velocities. Bull. Eng. Geol. Environ. 2019, 78, 6003–6016. [Google Scholar] [CrossRef]
- Nefeslioglu, H.A. Evaluation of geo-mechanical properties of very weak and weak rock materials by using non-destructive techniques: Ultrasonic pulse velocity measurements and reflectance spectroscopy. Eng. Geol. 2013, 160, 8–20. [Google Scholar] [CrossRef]
- Rahimi, M.R.; Mohammadi, S.D.; Beydokhti, A.T. Correlation between Schmidt Hammer Hardness, Strength Properties and Mineral Compositions of Sulfate Rocks. Geotech. Geol. Eng. 2022, 40, 545–574. [Google Scholar] [CrossRef]
- Yilmaz, I.; Sendir, H. Correlation of Schmidt hardness with unconfined compressive strength and Young’s modulus in gypsum from Sivas (Turkey). Eng. Geol. 2002, 66, 211–219. [Google Scholar] [CrossRef]
- Aydin, A.; Basu, A. The Schmidt hammer in rock material characterization. Eng. Geol. 2005, 81, 1–14. [Google Scholar] [CrossRef]
- Fener, M.; Kahraman, S.; Bilgil, A.; Gunaydin, O. A Comparative Evaluation of Indirect Methods to Estimate the Compressive Strength of Rocks. Rock Mech. Rock Eng. 2005, 38, 329–343. [Google Scholar] [CrossRef]
- Gupta, V. Non-destructive testing of some Higher Himalayan rocks in the Satluj Valley. Bull. Eng. Geol. Environ. 2009, 68, 409–416. [Google Scholar] [CrossRef]
- Yagiz, S. Predicting uniaxial compressive strength, modulus of elasticity and index properties of rocks using the Schmidt hammer. Bull. Eng. Geol. Environ. 2009, 68, 55–63. [Google Scholar] [CrossRef]
- Bruno, G.; Vessia, G.; Bobbo, L. Statistical method for assessing the uniaxial compressive strength of carbonate rock by Schmidt hammer tests performed on core samples. Rock Mech. Rock Eng. 2013, 46, 199–206. [Google Scholar] [CrossRef]
- Wang, M.; Wan, W. A new empirical formula for evaluating uniaxial compressive strength using the Schmidt hammer test. Int. J. Rock Mech. Min. 2019, 123, 104094. [Google Scholar] [CrossRef]
- Robnik-Šikonja, M.; Kononenko, I. An adaptation of Relief for attribute estimation in regression. In Proceedings of the 14th International Conference on Machine Learning (ICML’ 97), Nashville, TN, USA, 8–12 July 1997; Volume 5, pp. 296–304. [Google Scholar]
- Smith, G.N. Probability and Statistics in Civil Engineering; Collins Professional and Technical Books; Collins: Cork, Ireland, 1986; 244p. [Google Scholar]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
- Xu, B.; Tan, Y.; Sun, W.; Ma, T.; Liu, H.; Wang, D. Study on the Prediction of the Uniaxial Compressive Strength of Rock Based on the SSA-XGBoost Model. Sustainability 2023, 15, 5201. [Google Scholar] [CrossRef]
- Bian, J.; Huo, R.; Zhong, Y.; Guo, Z. XGB-Northern Goshawk Optimization: Predicting the Compressive Strength of Self-Compacting Concrete. KSCE J. Civ. Eng. 2024, 28, 1423–1439. [Google Scholar] [CrossRef]
- Xie, H.; Yu, T.; Lin, P.; Wang, Z.; Xu, Z. Effect of petrographic characteristics on uniaxial compressive strength of granitic rocks from Xinjiang, China. J. Cent. South Univ. 2023, 30, 2340–2359. [Google Scholar] [CrossRef]
Rock Type | Predictor Formula | R2 | Reference |
---|---|---|---|
Coal rock | 0.66 | [26] | |
Sandstone | 0.64 | [27] | |
Sedimentary rock | 0.70 | [28] | |
Igneous, sedimentary, and metamorphic rock | 0.90 | [29] | |
Igneous, sedimentary, and metamorphic rock | 0.83 | [30] | |
Carbonate rock | 0.80 | [31] | |
Limestone | 0.83 | [4] | |
Sedimentary rock | 0.92 | [32] | |
Clay rock and mudstone | 0.82 | [33] |
Rock Type | Predictor Formula | R2 | Reference |
---|---|---|---|
Gypsum | 0.98 | [35] | |
Granitic rock | 0.92 | [36] | |
Igneous, sedimentary, and metamorphic rock | 0.66 | [37] | |
Granites | 0.91 | [38] | |
Granitic rock | 0.92 | [39] | |
Sedimentary rock | 0.97 | [40] | |
Igneous, sedimentary, and metamorphic rock | 0.61 | [41] |
Hyperparameters | Parameter Interpretation | Search Range |
---|---|---|
n_estimators | The number of trees, i.e., the number of training iterations | 1~100 |
max_depth | Maximum depth of the tree; increasing this value will make the model more complex and more prone to overfitting | 1~20 |
eta | Learning rate: if set too large, overfitting is likely to occur; if set too small, model training will be very slow | 0.01~1 |
subsample | The sampling rate of training samples; using smaller values prevents overfitting | 0.01~1 |
Sample No. | Petrographic Parameters | Physical Parameters | σc (MPa) | |||||
---|---|---|---|---|---|---|---|---|
Cf/% | Cq/% | Cd/% | Sm/mm | Sc | R | Vp/m·s−1 | ||
G1 | 71 | 21 | 8 | 1.09 | 1.26 | 47.3 | 5282.69 | 74.84 |
G2 | 77 | 18 | 5 | 1.95 | 1.45 | 39.95 | 4562.13 | 63.27 |
G3 | 69 | 26 | 4 | 0.85 | 1.31 | 42.1 | 5163.32 | 72.8 |
G4 | 72 | 25 | 3 | 1.28 | 1.12 | 45 | 5170.73 | 76.47 |
G5 | 67 | 28 | 5 | 1.24 | 1.17 | 46.4 | 5204.85 | 74.5 |
G6 | 79 | 17 | 4 | 1.27 | 1.45 | 40 | 4817.99 | 67.32 |
G7 | 83 | 17 | 0 | 0.95 | 1.41 | 42.4 | 5247.55 | 72.94 |
G8 | 76 | 20 | 4 | 1.36 | 1.19 | 42 | 5252.35 | 74.92 |
G9 | 83 | 16 | 1 | 2.07 | 1.35 | 40.9 | 5216.86 | 71.8 |
G10 | 68 | 29 | 3 | 1.6 | 1.16 | 48.4 | 4759.06 | 72.45 |
G11 | 59 | 39 | 2 | 0.92 | 1.08 | 54.6 | 5489.86 | 84.58 |
G12 | 70 | 28 | 2 | 1.72 | 1.31 | 43.15 | 4896.18 | 76.71 |
G13 | 70 | 26 | 4 | 1.27 | 1.1 | 44.35 | 5190.65 | 80.02 |
G14 | 68 | 28 | 4 | 1.24 | 1.11 | 45.65 | 5049.66 | 80.54 |
G15 | 67 | 25 | 8 | 1.08 | 1.36 | 40.75 | 5173.96 | 70.37 |
G16 | 82 | 16 | 2 | 2.29 | 1.35 | 41.05 | 5006.4 | 67.07 |
G17 | 73 | 20 | 7 | 1.09 | 1.28 | 43.2 | 5294.43 | 79.7 |
G18 | 67 | 27 | 6 | 1.43 | 1.18 | 41.4 | 5149.04 | 73.58 |
G19 | 73 | 20 | 7 | 1.18 | 1.27 | 40.75 | 5136.96 | 71.78 |
G20 | 68 | 28 | 4 | 0.77 | 1.26 | 43.45 | 5363.24 | 78.81 |
G21 | 86 | 12 | 2 | 1.53 | 1.34 | 39.6 | 4757.56 | 70.95 |
G22 | 83 | 15 | 2 | 2.11 | 1.38 | 39.94 | 4828.29 | 64.32 |
G23 | 83 | 13 | 4 | 1.9 | 1.39 | 37.75 | 4867.61 | 64.61 |
G24 | 72 | 24 | 4 | 1.69 | 1.32 | 44.1 | 5296.3 | 77.43 |
G25 | 86 | 11 | 3 | 1.75 | 1.4 | 39.1 | 4873.38 | 69.58 |
G26 | 89 | 9 | 2 | 2.17 | 1.48 | 38.1 | 4583.29 | 62.35 |
G27 | 82 | 18 | 0 | 1.56 | 1.38 | 42.5 | 4939.13 | 77.08 |
G28 | 76 | 24 | 0 | 1.89 | 1.32 | 39.6 | 4790.78 | 70.73 |
G29 | 80 | 18 | 2 | 1.54 | 1.32 | 39.95 | 4821.73 | 66.34 |
G30 | 80 | 20 | 0 | 1.95 | 1.27 | 39.4 | 4666.51 | 68.93 |
G31 | 75 | 21 | 4 | 0.96 | 1.27 | 50.6 | 5069.09 | 78 |
G32 | 64 | 28 | 8 | 0.9 | 1.11 | 49.15 | 5377.66 | 82.86 |
G33 | 76 | 22 | 2 | 1.12 | 1.36 | 52.65 | 5125.58 | 75.36 |
G34 | 71 | 29 | 0 | 1.19 | 1.12 | 41.75 | 4992.02 | 77.88 |
G35 | 68 | 27 | 5 | 0.72 | 1.07 | 52.6 | 5267.65 | 82.57 |
G36 | 76 | 20 | 4 | 0.8 | 1.22 | 43.5 | 5096.94 | 73.89 |
G37 | 67 | 30 | 3 | 0.88 | 1.23 | 46.6 | 5225.32 | 72.98 |
G38 | 85 | 14 | 1 | 1.68 | 1.39 | 40.45 | 5059.93 | 72.68 |
G39 | 82 | 14 | 4 | 1.38 | 1.28 | 43.35 | 4654.7 | 68.51 |
G40 | 70 | 25 | 5 | 1.02 | 1.31 | 46.1 | 5102.4 | 78.05 |
Input Feature Type | n_estimators | max_depth | eta | Subsample |
---|---|---|---|---|
Petrographic parameters | 82 | 20 | 0.81 | 0.88 |
Physical parameters | 99 | 19 | 0.96 | 0.91 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Xie, H.; Lin, P.; Kang, J.; Zhai, C.; Du, Y. Prediction Method of Rock Uniaxial Compressive Strength Based on Feature Optimization and SSA-XGBoost. Sustainability 2024, 16, 8460. https://doi.org/10.3390/su16198460
Xie H, Lin P, Kang J, Zhai C, Du Y. Prediction Method of Rock Uniaxial Compressive Strength Based on Feature Optimization and SSA-XGBoost. Sustainability. 2024; 16(19):8460. https://doi.org/10.3390/su16198460
Chicago/Turabian StyleXie, Huihui, Peng Lin, Jintao Kang, Chenyu Zhai, and Yuchao Du. 2024. "Prediction Method of Rock Uniaxial Compressive Strength Based on Feature Optimization and SSA-XGBoost" Sustainability 16, no. 19: 8460. https://doi.org/10.3390/su16198460
APA StyleXie, H., Lin, P., Kang, J., Zhai, C., & Du, Y. (2024). Prediction Method of Rock Uniaxial Compressive Strength Based on Feature Optimization and SSA-XGBoost. Sustainability, 16(19), 8460. https://doi.org/10.3390/su16198460