Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine
Abstract
:1. Introduction
2. Method Introduction and Data Processing
2.1. Method Introduction
2.2. Denoising Processing
- Outlier processing: Due to the interference of the sensors in the underground working face, some data in the sample data clearly deviate from the rest. In this paper, the 3σ principle is used to identify outliers in the sample data; that is, the data other than the three standard deviations in the sample data can be regarded as wrong and thus be removed.
- Missing value processing: Due to power outages, coal mining operation stoppage, etc., sensors and mine pressure monitoring systems shut down, resulting in data not being collected. This situation is often solved by using averages, medians to fill in or delete those data, etc. In this paper, the method of deleting missing data is adopted to reduce the impact of missing values on the prediction results.
- Repeat value processing: Due to system reasons, a piece of data appears many times. It is necessary to delete the remaining duplicate pieces of data and retain only one of each datum.
- Convert qualitative variables to numerical variables: The form of hydraulic support in the sample data of the mine pressure is a categorical variable, and the values of this variable are {“support-type”, “shield-type”, “support-shield-type”}; they cannot be directly used for logistic regression prediction so it is necessary to convert them to numeric-type variables. In this paper, the value of “support-type” is converted to a value of 0, the value of “shield-type” is converted to a value of 1, and the value of “support-shield-type” is converted to a value of 2. These values are all discrete values because they are class variables converted to numerical variables. In the subsequent calculation process, since these values also exist in the calculation, the remaining continuous values are approximated as discrete values.
2.3. Standardized Processing
2.3.1. Z-Score Standardization
2.3.2. Min–Max Standardization
3. Model Building and Algorithm Design
3.1. Problem Formulation
3.2. Model Establishment
3.3. Model Solution
3.4. Prediction Algorithm Design
Algorithm 1: Pseudo code for solving prediction model of mine pressure hazard. The solution of logistic regression |
1: Input: Features =, Labels = , LearnRate 2: Output: W = 3: Step1: Load Data and assign them to Features and Labels 4: for i in range m do//m is the number of samples 5: for j in range n do//n is the number of Features 6: = ← feature_pushback() 7: end for 8: ← label_pushback() 9: end for 10: Step2: Standardize the loaded data 11: for i in range n do 12: ← average() 13: ← standard_deviation() 14: for j in range m do 15: ← 16: end for 17: end for 18: Step3: Initialize W 19: for i in range n do 20: ↔ random_number(0,1)//Initialize each to a decimal between 0 and 1 21: end for 22: Step4: Train model 23: while Stopping criterion not met do 24: for i in range m do 25: ← //Compute gradient by the Sigmoid function and loss function 26: end for 27: r ← (square element-wise)//Accumulate gradient, and ϵ is smooth index 28: ← (element-wise)//Update 29: end while 30: Return W |
4. Experiments
4.1. Data Preparation
- (1)
- Coal seam thickness: When the thickness of the coal seam is large, the stress balance in the pressure rise zone is broken and the supporting pressure of the coal wall is greatly reduced on the original basis.
- (2)
- Coal seam dip angle: This factor has a great influence on the ore pressure appearance of the coal mining face. With the increase in the coal seam dip angle, the pressure of the overlying strata on the layer decreases and the tangential slip force along the layer increases. The falling gangue in the goaf may not be retained in situ and it is likely to slip along the floor, thus changing the movement law of the overlying strata. Due to the slip of the falling gangue in the goaf, the upper part of the goaf is empty and the lower part is empty, which leads to the unbalanced stress of the working face support.
- (3)
- Support form: The support in the roadway can be roughly divided into support-type, cover-type, and support-cover-type. Different forms of support have different effects on roof pressure.
- (4)
- Support resistance: The support resistance has an important influence on the mine pressure. If the support resistance is insufficient, it may cause spalling in the working face, roof fall, step sinking, and a reduction in the mining efficiency.
- (5)
- Microseismic energy: Microseismic energy has a good early warning effect on the periodic weighting of the working face. When the microseismic energy is greater than a certain value, it can be determined that the roof of the working face may be in a state of weighting and roof management needs to be carried out in time.
- (6)
- Drilling stress: The promotion of the working surface causes a disturbance in the stress of the coal seam, and it can easily produce a large number of microfracture structures in the coal seam. The potential hazard of coal and gas outburst is further increased under the dual coupling of high gas pressure and coal body damage. The location of the borehole stress bulge should eliminate the hazard of coal and gas outburst.
- (7)
- The first weighting interval of the main roof: The first collapse of the immediate roof is backward, and the working face continues to advance. The main roof can be regarded as a plate structure. With the continuous collapse of the direct roof, the main roof suspension span gradually increases until the limit span is reached. When the main roof breaks, it collapses.
- (8)
- The periodic weighting spacing of the main roof: The main roof falls behind for the first time. As the coal mining face continues to advance, the main roof strata above the working face are exposed. Then, the collapse phenomenon of the main roof appears again and again, and the periodic mine pressure appears in the working face.
4.2. Assessment Indicators
4.3. Model Validation
4.4. Experimental Analysis
4.4.1. Data Credibility Analysis
4.4.2. Experimental Design
- Experiment 1:
- Experiment 2:
- Experiment 3:
4.4.3. Experimental Comparative Analysis
- (1)
- Support vector machine (SVM) is a binary classification model, and its learning strategy is to maximize the interval. It can deal with nonlinear classification tasks. At present, it is only suitable for tasks with small batch samples. When the number of samples is large, the calculation complexity is high.
- (2)
- Decision tree is a recursive process from root to leaf; it can be used for both classification and regression tasks. Its core problem is how to select the appropriate properties to split the sample at each step. However, it can easily overfit when using too-complex data.
- (3)
- The naive Bayes classifier is a supervised learning algorithm, which originates from classical mathematics theory. It needs to estimate few parameters and has a stable classification efficiency. It is suitable for incremental training, and its speed is fast, but can easily have poor classification effect, and it is more sensitive to the expression form of input data.
4.5. Practical Application
5. Discussion
- The data obtained using the 3σ principle to remove outliers, delete missing values, and 0-mean normalized preprocessing have the best reliability among the data of the different studied preprocessing methods. The four evaluation indices of model prediction results were higher for the predicted model than those of the other pretreatment methods.
- In this paper, the Adagrad optimization algorithm based on the batch gradient descent algorithm is used to solve the logistic regression model. The coefficients of eight evaluation indices in the regression model were obtained via iteration. The data were fed into a regression model with determined coefficients, and the predictions were calculated. Comparing the predicted results with the actual hazard results, the accuracy rate, precision rate, recall rate, and F1-score were 96%, 88.89%, 92.31%, and 0.91, respectively. Through the comparison of the results, the model proved to be effective in the simulation process and can be used for the actual prediction test in the actual production process.
- By comparing the Adagrad optimization algorithm with SVM and decision tree classification algorithms, the accuracy rate, precision rate, recall rate, and F1-score of the results are up to 17.5%, 54.74%, 66.64%, and 50%, and the prediction time is the lowest. The calculation reliability of the Adagrad algorithm is proven.
- The results obtained with the mine pressure hazard prediction function in the final example are similar to those produced in practice. Of the 21 pieces of dangerous data, 19 were accurately predicted, with an accuracy of 90.4%.
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Jiang, Y.T.; Cai, Y.M. Research on mineral resource evaluation and sustainable development strategy. Non-Ferr. Met. World 2023, 11, 181–183. [Google Scholar]
- Wu, W.Q.; Zheng, Y.L.; Chen, H.Q. Adhere to the strategy of sustainable development of mineral resources and promote the construction of ecological civilization. Miner. Prot. Util. 2014, 1, 1–5. [Google Scholar]
- Wang, S.M. Thoughts about the main energy status of coal and green mining in China. China Coal. 2020, 46, 11–16. [Google Scholar]
- Lan, H.; Chen, D.K.; Mao, D.B. Current status of deep mining and disaster prevention in China. Coal Sci. Technol. 2016, 44, 39–46. [Google Scholar]
- Ma, X. Research on Prevention and Control Technology of Burst Rock in Wide Pillar Face Mining in Hongqing River Coal Mine. Master’s Thesis, China University of Mining and Technology, Beijing, China, 2023. [Google Scholar]
- Wu, S.L.; Liu, S.L.; Tong, J.W.; Wang, J.H.; Shi, C.H.; Zhao, J.Y. Study on Roof Structure Model and Support-surrounding Rock Relationship at Fully-mechanized Coal Mining Face. J. Shandong Univ. Sci. Technol. Nat. Sci. 2016, 35, 44–51. [Google Scholar]
- Yin, X.W. Research status of strata control and large mining height fully-mechanized mining technology in China. Coal Sci. Technol. 2019, 47, 37–45. [Google Scholar]
- Zhang, Y.G. Study on Seismic Monitoring and Gas Warning in Mines in Hegang Area. Master’s Thesis, Jilin University, Changchun, China, 2019. [Google Scholar]
- Zhao, B. Research on Optimization Design of Mine Field Development Mode in Mechanization Transformation of Da Chang Coal Mine. Master’s Thesis, Kunming University of Science and Technology, Kunming, China, 2022. [Google Scholar]
- He, C. On Rock-burst Hazards Assessment Based on AHP-SA Model. Energy Technol. Manag. 2021, 46, 110–112. [Google Scholar]
- Fan, Z.W. Discussion on Strata Behavior Law at 020907 Fully-mechanized Working Face. Jiangxi Coal Sci. Technol. 2022, 14–17+20. [Google Scholar]
- Liu, S.T.; Hao, B.Y.; Yang, R.; Zhu, W.Q. Analysis of Mineral Pressure under Rigid Top Plate Based on Variance Analysis. Coal Technol. 2022, 41, 20–23. [Google Scholar]
- Liu, C.; Li, Z.H.; Yang, K.; Chi, X.L.; Zhou, P.; Zhao, S.H. Similarity Simulation Study on Mine Pressure Behavior of Intelligent Mining Face with Large Dip Angl. Min. Res. Dev. 2022, 42, 86–91. [Google Scholar]
- Xin, X.Y.; Yu, J.H. Characteristics of abnormal underground pressure in fully mechanized caving face based on multi-source data analysis. Coal Eng. 2021, 53, 87–91. [Google Scholar]
- Ma, Z.M.; Wu, S.L.; Mu, Y.B.; Song, P.; Wang, Q. Mechanism and control of strata pressure behavior anomaly in fully mechanized top-coal caving face of extra-thick coal sea. J. China Coal Soc. 2018, 43, 359–368. [Google Scholar]
- Xu, G.; Zhang, C.H.; Lin, X.Y.; Chi, G.M.; Fan, Z.Z.; Yu, Y.J. Predicting ground pressure evolution and support crushing of fully mechanized top coal caving face based on zoning support mechanical model. J. China Coal Soc. 2022, 47, 3622–3633. [Google Scholar]
- Yang, J.Z.; Liu, Q.J.; Xu, G.; Zhang, Z. Strata behavior regularity and overlying strata broken structure of super large mining-height working face with 8.8 m support. J. Min. Saf. Eng. 2021, 38, 655–665. [Google Scholar]
- Li, J.W.; Liu, C.Y.; Zhao, J. Multiple factor sensitivity analysis of strata pressure behaviour in shallow coal seam mining. J. Min. Saf. Eng. 2016, 33, 853–859. [Google Scholar]
- Ju, J.F.; Xu, J.L.; Zhu, W.B.; Wang, Q.X.; Hao, X.J. Strata Behavior of Fully-Mechanized Face with 7.0 m Height Support. J. Min. Saf. Eng. 2012, 29, 344–350+356. [Google Scholar]
- Ji, W.L.; Liu, Y.X.; Chai, J.; Wang, B. Mine pressure prediction method based on random forest. J. Min. Strat. Control Eng. 2021, 3, 71–81. [Google Scholar]
- Liu, Y.X. Mineral Pressure Manifestation Prediction Method Based on Machine Learning. Master’s Thesis, Xi’an University of Science and Technology, Xi’an, China, 2021. [Google Scholar]
- Wang, Z.K. Research on Prediction Technology of Mining Area Pressure Based on Large Data of Support Working Resistance. Master’s Thesis, Shandong University of Science and Technology, Shandong, China, 2018. [Google Scholar]
- Gong, S.X.; Ren, H.-W.; Du, Y.B.; Zhao, G.R.; Wen, Z.G. Transfer prediction of underground pressure for fully mechanized mining face based on MRDA-FLPEM integrated algorithm. J. China Coal Soc. 2021, 46, 529–538. [Google Scholar]
- Cheng, H.X.; Zhu, L.; Song, L.P.; Liu, W.T.; Xu, K. Roof pressure data prediction for working face based on back propagation neural network. Saf. Coal Mines 2021, 52, 216–220. [Google Scholar]
- Yin, X.W.; Xu, G.; Liu, Q.J.; Lu, Z.L.; Yu, Q.G.; Zhang, Z. Method of double-cycle analysis and prediction for rock pressure based on the support load. J. China Coal Soc. 2021, 46, 3116–3126. [Google Scholar]
- Chang, F. Application Research of the Prediction Model for the Coal Working Face Roof Pressure Based on GA-BP Neural Networks. Master’s Thesis, China University of Mining and Technology, Beijing, China, 2019. [Google Scholar]
- Chen, J.; Gao, J.K.; Pu, Y.Y. Machine learning method for rock burst prediction and early warning. J. Min. Rock Control Eng. 2021, 3, 57–68. [Google Scholar]
- Mou, L. Study on Prediction Method of Impact Risk in Fold Area of Gaojiapu Coal Mine. Master’s Thesis, China University of Mining and Technology, Beijing, China, 2022. [Google Scholar]
- Jia, B.X.; Chen, H.; Pan, Y.S. Research on rock burst prediction technology of multi-parameter comprehensive index. J. Disaster Prev. Mitig. Eng. 2019, 39, 330–337. [Google Scholar]
- Wu, J.B.; Wang, E.Y.; Ren, X.K.; Wang, X.R. Rock burst early-warning for thick coal seam in deep mining based on Logistic regression. Ind. Mine Autom. 2017, 43, 42–46. [Google Scholar]
- Du, Q.; Jia, L.Y. SPSS Statistical Analysis from Introduction to Mastery; The People’s Posts and Telecommunications Press (Posts & Telecom Press): Beijing, China, 2011. [Google Scholar]
- Ohlmacher, G.C.; Davis, J.C. Using multiple logistic regression and GIS technology to predict landslide hazard in northeast Kansas, USA. Eng. Geol. 2003, 69, 331–343. [Google Scholar] [CrossRef]
- Li, Z.; Ou, E.; Wang, E.Y.; Liu, Z. Hazard evaluation of coal and gas outbursts in a coal-mine roadway based on logistic regression model. Int. J. Rock Mech. Min. Sci. 2015, 80, 185–195. [Google Scholar] [CrossRef]
- Long, S.; Tao, W.; Zhang, Z.D. Adaptive NAG method based on AdaGrad and its optimal individual convergence. J. Softw. 2022, 33, 1231–1243. [Google Scholar]
- Zhang, X.; Wei, H.X. Dual averaging method based on AdaGrad adaptive strategy. Ship Electron. Eng. 2022, 42, 41–44+53. [Google Scholar]
- Xia, Y.X.; Kang, L.J.; Qi, Q.X. Five indexes based on microseismic monitoring and their application in rock burst prediction. J. Coal Sci. 2010, 35, 2011–2016. [Google Scholar]
- Aushtmi, D.; Sadia, A.K.; Sheikh, B.A.; Adil, A.C. An Outcome Based Analysis on Heart Disease Prediction using Machine Learning Algorithms and Data Mining Approaches. In Proceedings of the 2022 IEEE World AI IoT Congress, Seattle, WA, USA, 6–9 June 2022. [Google Scholar]
Working Face Name | Coal Seam Thickness (m) | Dip Angle of Coal Seam (Degrees) | Form of Hydraulic Support | Support Resistance (Mpa) | Microseismic Energy ( J) | Borehole Stress (Mpa) | Initial Pressure Step of Old Roof (m) | Periodic Pressure Step of Old Roof (m) | Measured Value |
---|---|---|---|---|---|---|---|---|---|
23104 | 35 | 12 | 2 | 41 | 15.13 | 15.76 | 90 | 90 | 0 |
23104 | 35 | 12 | 2 | 33 | 2.2 | 15.34 | 90 | 90 | 0 |
… | … | … | … | … | … | … | … | … | … |
23201 | 30 | 8 | 2 | 37 | 17.94 | 15.68 | 11 | 12 | 0 |
23201 | 30 | 8 | 2 | 40 | 16.36 | 15.28 | 11 | 12 | 0 |
… | … | … | … | … | … | … | … | … | … |
23202 | 35 | 8 | 2 | 40 | 19.58 | 15.16 | 50 | 50 | 1 |
23202 | 35 | 8 | 2 | 30 | 17.84 | 15.86 | 50 | 50 | 0 |
… | … | … | … | … | … | … | … | … | … |
23203 | 4.8 | 1 | 1 | 39 | 17.07 | 15.76 | 100 | 100 | 1 |
23203 | 4.8 | 1 | 1 | 31 | 17.7 | 15.04 | 100 | 100 | 0 |
… | … | … | … | … | … | … | … | … | … |
23301 | 35 | 8 | 2 | 13 | 18.51 | 15.58 | 72 | 42 | 0 |
23301 | 35 | 8 | 2 | 6 | 4.55 | 15.19 | 72 | 42 | 0 |
Evaluation Index | Coal Seam Thickness | Dip Angle of Coal Seam | Form of Hydraulic Support | Support Resistance | Microseismic Energy | Borehole Stress | Initial Pressure Step of Old Roof | Periodic Pressure Step of Old Roof | Partial Regression Coefficient |
---|---|---|---|---|---|---|---|---|---|
0.3712 | 0.398 | 0.047 | −5.8 | −6.78 | −0.648 | −1.61 | 2.315 | 8.386 |
Condition | Danger | No Danger | Danger and Predicted (TP) | Dangerous but Not Predicted (FN) | No Danger and Not Predicted (TN) | No Danger but Predicted (FP) | |
---|---|---|---|---|---|---|---|
Times | Working face 1 | 12 | 38 | 12 | 0 | 36 | 2 |
Working face 2 | 8 | 42 | 7 | 1 | 41 | 1 | |
Working face 3 | 11 | 39 | 10 | 1 | 38 | 1 | |
Working face 4 | 11 | 39 | 10 | 1 | 37 | 2 | |
Working face 5 | 10 | 40 | 9 | 1 | 40 | 0 | |
Total | 52 | 198 | 48 | 4 | 192 | 6 |
Method | Outlier Processing | Missing Value Processing | Standardized Processing |
---|---|---|---|
1 | Non-processed | Fill the median | Min–max standardization |
2 | Non-processed | Fill the median | Z-score standardization |
3 | Non-processed | Delete missing values | Min–max standardization |
4 | Non-processed | Delete missing values | Z-score standardization |
5 | 3 principle to remove outliers | Fill the median | Min–max standardization |
6 | 3 principle to remove outliers | Fill the median | Z-score standardization |
7 | 3 principle to remove outliers | Delete missing values | Min–max standardization |
8 | 3 principle to remove outliers | Delete missing values | Z-score standardization |
Prediction Model | Accuracy | Precision | Recall | F1-Score | The Time Spent on Prediction (ms) |
---|---|---|---|---|---|
Logistic (via Adagrad gradient algorithm) | 94% | 83.33% | 90.9% | 0.87 | 112,375 |
Logistic (via batch gradient descent algorithm) | 86% | 66.67% | 72.73% | 0.7 | 356,178 |
SVM | 82% | 56.25% | 81.82% | 0.67 | 182,741 |
Decision tree | 84% | 66.67% | 54.55% | 0.6 | 219,746 |
Naive Bayes | 80% | 53.85% | 63.64% | 0.58 | 276,193 |
Condition | Danger | No Danger | Danger and Predicted (TP) | Dangerous but Not Predicted (FN) | No Danger and Not Predicted (TN) | No Danger but Predicted (FP) | |
---|---|---|---|---|---|---|---|
Times | Week 1 | 5 | 15 | 5 | 0 | 14 | 1 |
Week 2 | 0 | 20 | 0 | 0 | 19 | 1 | |
Week 3 | 4 | 16 | 3 | 1 | 16 | 0 | |
Week 4 | 6 | 14 | 5 | 1 | 14 | 0 | |
Week 5 | 5 | 15 | 5 | 0 | 14 | 1 | |
Week 6 | 1 | 19 | 1 | 0 | 18 | 1 | |
Total | 21 | 99 | 19 | 2 | 95 | 4 |
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. |
© 2023 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
Zhu, B.; Shi, Y.; Hao, J.; Fu, G. Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine. Appl. Sci. 2023, 13, 12227. https://doi.org/10.3390/app132212227
Zhu B, Shi Y, Hao J, Fu G. Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine. Applied Sciences. 2023; 13(22):12227. https://doi.org/10.3390/app132212227
Chicago/Turabian StyleZhu, Bobin, Yongkui Shi, Jian Hao, and Guanqun Fu. 2023. "Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine" Applied Sciences 13, no. 22: 12227. https://doi.org/10.3390/app132212227
APA StyleZhu, B., Shi, Y., Hao, J., & Fu, G. (2023). Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine. Applied Sciences, 13(22), 12227. https://doi.org/10.3390/app132212227