Next Article in Journal
The Ultimate Strength of Fully Transparent Pressure-Resistant Spherical Cabins
Previous Article in Journal
The Significance of the Factors Increasing the Asphalt Pavement Recycling Rate in the Country, Determined Using Multiple-Criteria Decision-Making Methods
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction of Coal Mine Pressure Hazard Based on Logistic Regression and Adagrad Algorithm—A Case Study of C Coal Mine

1
College of Energy and Mining Engineering, Shandong University of Science and Technology, Qingdao 266590, China
2
Mine Disaster Prevent & Control Ministry, Shandong University of Science and Technology, Qingdao 266590, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2023, 13(22), 12227; https://doi.org/10.3390/app132212227
Submission received: 25 September 2023 / Revised: 8 November 2023 / Accepted: 8 November 2023 / Published: 10 November 2023

Abstract

:
Effectively avoiding coal mine safety accidents has always been an important issue in the process of coal mining. In order to predict mine pressure hazard and reduce the occurrence of mine safety accidents, this paper innovatively combines logistic regression and mine pressure hazard prediction to establish a mine pressure hazard prediction model. By standardizing the data, the model improves the reliability of the mine pressure data and reduces the interference of the prediction effect of random errors. Based on the batch gradient descent algorithm and the Adagrad optimization algorithm, the prediction model is solved innovatively, which greatly improves the calculation speed and prediction accuracy of the model. Accuracy rate, precision rate, recall rate, and F1-score were selected as the evaluation indices to evaluate the prediction effect of the Adagrad optimization algorithm to solve the logistic regression model for mine pressure hazard. Compared with the existing classification algorithms, such as SVM and decision tree, the Adagrad optimization algorithm has the highest four indices when solving the logistic regression prediction model, and it takes the least time to predict. The results show that the model can efficiently predict mine pressure hazard. Finally, C Coal Mine was selected as the example for analysis. The prediction function was added to the mine pressure monitoring interface design. The practical application effect is similar to the theoretical verification. The establishment of this model provides a reliable guarantee for the secure and efficient production of coal mines and provides helpful research for the prediction of mine pressure.

1. Introduction

China is rich in mineral resources; 193 kinds of minerals have been discovered in the country. China’s confirmed coal reserves rank third in the world and have always been the main energy source in the country. China also has the world’s fifth-largest iron ore reserves, and it is an important supplier of iron mineral resources in the world [1,2]. When an ore body is mined, the original stress of the rock mass is destroyed and redistributed. At the same time, the surrounding rock is deformed, thus producing ore pressure on the working face, roadway, and surrounding rock. In the process of increasing the depth and intensity of coal mining, more dangerous mining pressure phenomena appear, such as the “crushing” of the coal wall and support, as well as surface collapse, which restricts the safe and efficient production of mines [3,4]. In recent years, the Shen dong method of “double-lane” mining has been adopted in the Meng shan area. Although the output efficiency has increased, hazards such as rock burst occur often [5]. The effective way to predict and forecast mine pressure under the existing conditions is to establish a mine pressure prediction model by mastering the roof pressure mechanism and the change law of support load. In this process, researchers need to explore the relationship between rock movement and support load [6,7]. ZHANG Yong-gang [8] studied the causes of dynamic mine disasters in the Hegang area to analyze the close relationship between mine earthquakes and gas overflow. ZHAO Bo used the mine field development mode of the Dachang Coal Mine as the research object and proposed measures to prevent accidents according to the actual mine conditions [9].
HE Chuan [10] used the APH-SA model to determine the evaluation indicator parameters and established the hazard evaluation system of rock burst in working faces. Fan Zhan-wen [11] analyzed the advance abutment pressure of coal wall and traditional mine pressure observation through the microseismic monitoring method. LIU Shi-tao et al. [12] used one-way ANOVA to obtain the initial and periodic pressure steps, which were basically consistent with the theoretical calculation. LIU Cheng et al. [13] used similar simulation research to establish a similar model for a comprehensive analysis of mine pressure. XIN Xian-yao et al. [14] introduced the technology of microseismic monitoring based on the analysis of multi-source data, such as support pressure, and studied the characteristics of various mine pressure behavior anomalies in working face. MA Zi-min et al. [15] studied the abnormal occurrence mechanism of mine pressure and roof control technology in fully mechanized caving stope through theoretical analysis and field measurement. XU Gang et al. [16] proposed a method for calculating the evolution of rock pressure in large-thickness roofs of fully mechanized caving faces and analyzed the evolution law of roof pressure in fully mechanized caving stope. YANG Jun-zhe et al. [17] studied the law of mine pressure behavior in a working face with an 8.8 m support and super mining height via means of large data analysis of mine pressure. LI Jian-wei et al. [18] combined theoretical analysis, numerical simulation, and field measurement to analyze the influence of factors such the as buried depth of the shallow coal seam on the mine pressure behavior of the working face. JU Jin-feng et al. [19] summarized the law of mine pressure behavior in different mining stages and analyzed the differences in mine pressure behavior in fully mechanized mining faces with different mining heights. The above research adopted the traditional methods of evaluation analysis, numerical simulation, and field measurement to analyze the rules and characteristics of the occurrence of mine pressure. These articles provide theoretical guidance for the research of this paper. However, most of these studies were carried out after mine pressure appeared, and the aim of early prediction is not achieved.
Now, more researchers are using data-driven methods and machine learning techniques to predict mine pressure in advance. JI Wen-li et al. [20] established a pressure prediction model of MBCT-SR-RF based on random forest and showed that the MBCT-SR-RF prediction model had higher prediction accuracy than BP neural network and SVM. LIU Yi-xin [21] established a prediction model of mine pressure behavior in the working face based on machine learning through similar simulation experiments. WANG Zhi-kui [22] conducted a regional analysis and prediction on the pressure law of the working face roof based on the big data of the working resistance of the working face support. GONG Shi-xin et al. [23] proposed a prediction method of mine pressure in a fully mechanized mining face based on a manifold regularization domain adaptive function link prediction error integration algorithm. CHENG Hai-xing et al. [24] established a prediction model of mine pressure data based on a back-propagation neural network. YIN Xi-wen et al. [25] constructed a two-period dynamic analysis and prediction model of mine pressure via means of field measurement, data mining, and theoretical analysis. CHANG Feng [26] established a prediction model of working face roof mine pressure based on the optimized GA-BP neural network. The training results showed that the prediction effect of the optimized GA-BP neural network model was better than that of the BP neural network.
The above studies achieved significant results in the prediction of mine pressure numerical value and mine pressure behavior based on machine learning methods, which provide valuable research experience for the establishment of a mine pressure hazard prediction model in this paper. However, they mostly used regression algorithms and will eventually obtain continuous values, not a category. Managers often need to quickly and accurately predict whether the mine pressure data are abnormal or dangerous. When this occurs, a classification algorithm will play an indispensable role.
The research purpose of this paper is to predict whether danger exists in coal mine pressure, help managers predict and judge the danger caused by mine pressure exceeding the threshold, and make appropriate decisions in due time. In order to manage users more conveniently, the output results only need to be the presence of danger and the absence of danger, so as to provide a decision-making basis for managers. It is clear that this problem is a binary classification problem.
CHEN Jie et al. [27] analyzed the differences between traditional prediction and machine learning early warning and listed evaluation indicators for evaluating rock burst, but they did not put forward specific solutions for a certain problem. MOU Liang [28] used the Gaojiapu Coal Mine as the research object and proposed a rock burst prediction method based on the deviation value of mine earthquake precursor characteristics and the dynamic change rate as the index. This study only predicted the impact of one working face in a single mining area. The limitations of the study are extensive. JIA Bao-xin et al. [29] put forward “global-region-local” multi-parameter comprehensive index rock burst monitoring technology for the Huo tai Mine. This technology can improve accuracy through the real-time monitoring of stratified and complementary regions. However, research has focused more on making predictions from different ranges to improve accuracy. WU Jian-bo et al. [30] established a logistic regression early warning model composed of comprehensive indicators to classify the occurrence of rock burst and verified the model based on the field-measured data of the Qianqiu Coal Mine. However, there were less data used in this study, the data mining depth was not deep enough, and the logistic regression algorithm was not really applied to the mine as a practical function.
This paper applied logistic regression to the prediction of mine pressure hazard for the first time in a real sense, analyzed the relationship between the influencing factors of mine pressure and mine pressure hazard, selected evaluation indicators to establish a mine pressure hazard prediction model supported by a large amount of data, adopted the Adagrad optimization algorithm to solve the model, and put forward a set of mine pressure prediction methods. At the same time, the logistic regression model was applied to the downhole as a practical system interface, which can be used for managers’ reference.
This prediction model can predict the emergence of danger in time, effectively reduce the occurrence of safety accidents, provide a powerful tool for mine managers to make decisions in advance, and provide a reliable guarantee for the safe and efficient production of coal mines.

2. Method Introduction and Data Processing

2.1. Method Introduction

Logistic regression is an analytical method that estimates the probability of an event based on a dataset of independent variables. The model can explore the influencing factors of certain disasters and quantitatively predict the probability of the disaster based on the hazard factors [31]. This method can obtain the coupling weights of various disaster monitoring indicators and present the prediction results of disaster occurrence in the form of event occurrence probability [32,33].
The Adagrad algorithm can adaptively adjust the learning rate of each dimension to deal with problems such as quadratic optimization [34]. It adaptively adjusts the learning rate according to the training degree. When the loss value is closer to the minimum value, the learning rate is smaller, which can prevent the loss function from approaching the minimum value due to a too-large learning rate or slow training convergence due to a too-small learning rate [35].
Because the sensors in C Coal Mine in the underground working face are subject to more interference, the data recorded by the mine pressure monitoring management information system are abnormal. It is necessary to preprocess the acquired data to reduce the interference of abnormal data for prediction.

2.2. Denoising Processing

The obtained data were denoised to reduce the interference of the original data on the prediction. The process included the following:
  • 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

The Sigmoid function is used as the activation function of the logistic regression model. If the distribution range of the sample data is very wide, the model can easily directly fall into the saturation area, resulting in the disappearance of the gradient. Hence, it is necessary to standardize the data in advance. The processing method often uses Z-score standardization and min–max standardization.

2.3.1. Z-Score Standardization

Z-score standardization can convert dimensional data to dimensionless data. The calculation formulas of this method are shown in Formulas (1) and (2).
σ = 1 m j = 1 m ( x j μ ) 2
x j = x j μ σ
In these formulas, σ represents the standard deviation of the sample data, μ represents the average value of the sample data, x j for j = 1 , 2 , , m represents the j-th sample data, x j represents the new data of the j-th sample data after normalization, j = 1 , 2 , , m , and m represents the amount of sample data.

2.3.2. Min–Max Standardization

The purpose of deviation standardization is to make the value range of the new data [0,1]. The calculation formula of this method is shown in Equation (3).
x j = x j m i n m a x m i n
In the formula, x j for j = 1 , 2 , , m represents the j-th sample data, x j represents the new data of the j-th sample data after normalization, j = 1 , 2 , , m , m represents the amount of sample data, m i n represents the minimum value in the sample data, and m a x represents the maximum value in the sample data.

3. Model Building and Algorithm Design

3.1. Problem Formulation

This paper selects the ore pressure data of C Coal Mine as the research dataset and uses the logistic regression method to predict the mine pressure hazard. The prediction model is shown in Figure 1.
The purpose of this paper is to predict whether there is danger in the mine pressure, help managers predict and judge whether the danger is caused by mine pressure exceeding the threshold value, and make appropriate decisions in time. In order to manage users more conveniently, in terms of the result orientation, the output results only need to be the presence of danger and the absence of danger, so as to provide decision-making basis for managers. It is clear that the problem is a binary classification problem. Therefore, the mine pressure hazard is divided into “existence danger” and “non-existence danger”. Let y represent whether the mine pressure is dangerous; then, y = 0 means that the mine pressure does not exceed the standard and there is no danger, and y = 1 means that the mine pressure exceeds the standard and there is danger. There are many factors that affect mine pressure hazard, and together they form the evaluation indicator system that affects the mine pressure hazard. Let the evaluation indicator system X = [ x 1 x 2 x 3 x i ] ; x i for i = 1 , 2 , 3 n represent the i-th evaluation indicator selected in the preprocessed data. The logistic regression prediction model is used to study the degree of influence of each evaluation indicator on the mine pressure hazard and the prediction results. The input of the prediction model is the evaluation indicator system X , that is, the preprocessed mine pressure data, and the output is the prediction result y , that is, whether the mine pressure is dangerous. Finally, the logistic regression prediction model driven by the sample data of the mine pressure is established.

3.2. Model Establishment

Through the evaluation indicator system X = [ x 1 x 2 x 3 x i ] that affects the mine pressure hazard, the linear regression function that affects the mine pressure hazard can be obtained as shown in Formula (4), which is the input of the logistic regression model.
z = W T X + b = ω 1 x 1 + ω 2 x 2 + + ω n x n + b
In the formula, x i , for i = 1 , 2 , 3 n , represents the i-th evaluation indicator; ω i , for i = 1 , 2 , 3 n , represents the weight of the i-th evaluation indicator; and i = 1 , 2 , , n , where n represents the number of extracted evaluation indicators. b represents the partial regression coefficient. Since the output result of the linear regression is continuous in the real-number field, but the result of the mine pressure hazard is “danger” or “no danger”, which is not a continuous value, it is necessary to introduce the Sigmoid function as the activation function. The Sigmoid function is shown in Formula (5).
h z = 1 1 + exp ( z )
The Sigmoid function is an S-shaped curve, which can map any real number to a value between 0 and 1, but it does not take 0 and 1.
In this activation function, when z approaches positive infinity, the value of h z approaches 1; when z approaches negative infinity, h z approaches 0. The value range of the independent variable is any real number, and the function value range is [0,1]. Through the Sigmoid function, any input is mapped to the [0,1] interval so as to obtain a predicted value in the linear regression z , and then the value is mapped to the Sigmoid function, thus completing the transformation from the value to the probability of occurrence of mine pressure hazard. The derived prediction model of mine pressure hazard based on logistic regression is shown in Formula (6).
h ω x = 1 1 + exp ( ω 1 x 1 ω 2 x 2 ω n x n b )
In general, we consider that when any input is mapped to the interval [0,1] using the Sigmoid function, and the result h ω x 0.5 , the prediction y = 1 , indicating that there is a danger that the value of mine pressure exceeds the standard. When h ω x 0.5 , the prediction y = 0 , indicating that there is no danger that the value of mine pressure exceeds the standard. By using the conversion of the Sigmoid function, whether the mine pressure value is dangerous is converted into two interval ranges. The conversion value, which can be used to calculate and compare the mine pressure hazard, is obtained.

3.3. Model Solution

In logistic regression, the sample set of the training model consists of m groups of labeled data:
X 1 , Y 1 , X 2 , Y 2 , , ( X m , Y m )
X ( j ) represents the evaluation indicator system, its dimension is n , and the value of n is the number of selected evaluation indicators. Y ( j ) represents the output results of whether the mine pressure is dangerous. Bringing each group of sample data into Formula (6), the probability of occurrence of mine pressure hazard predicted by this group of data can be obtained, as shown in Formula (8).
h ω x ( j ) = 1 1 + exp [ ( ω 1 x 1 ( j ) + ω 2 x 2 ( j ) + + ω n x n ( j ) + b ) ]
In the formula, i = 1 , 2 , , n , and n represents the number of selected evaluation indicators; j = 1 , 2 , , m , and m represents the number of samples, that is, the amount of obtained mine pressure sample data.
Suppose that the probability that the mine pressure is dangerous is h ω x , that is, the probability that y = 1 . This is shown in Formula (9).
p y = 1 x ; ω = h ω x
The probability that the mine pressure is not dangerous, that is, the probability of y = 0 , is shown in Formula (10).
p y = 0 x ; ω = 1 h ω ( x )
For the convenience of calculation, the above assumption functions are integrated to obtain Formula (11).
p y x ; ω = [ h ω x ] y · [ 1 h ω x ] 1 y
Since the probabilities derived from each group of samples are independent, for all samples, the maximum likelihood function is shown in Formula (12).
L ω = j = 1 m p y x i ; ω = j = 1 m [ h ω x i ( j ) ] y ( j ) · [ 1     h ω x i ( j ) ] 1 y ( j )
Finally, the maximum likelihood function is solved; that is, the greater the probability of all sample data finally being obtained, the better. For the convenience of calculation, the logarithm of the above likelihood function is taken. Taking the logarithm does not affect the monotonicity of the original function; rather, it enlarges the difference between the function values, so that the categories of each sample can be better distinguished. The result of taking the logarithm is shown in Formula (13).
l ω = log L ω = j = 1 m [ y j · log h ω x i j + ( 1 y j ) · log ( 1 h ω x i j ) ]
After taking the logarithm, the new function obtained is an upward convex function, which can be solved with a gradient boosting algorithm to obtain the maximum likelihood function value. Alternatively, we can multiply the above function by −1 to make it a minimum negative log-likelihood function, which is a downward convex function, for which the new function can be solved with a gradient descent algorithm. The loss function is obtained by taking the average of m samples and the minimum negative log-likelihood function. The loss function is shown in Formula (14).
J ω = 1 m l ω = 1 m j = 1 m [ y j · log h ω x i j + ( 1   y j ) · log ( 1   h ω x i j ) ]
The traditional solution method uses the batch gradient descent algorithm to solve the parameter values of the equations. The update formula of ω in the batch gradient descent algorithm is shown in Formula (15).
ω i : = ω i α ω i J ( ω i )
In the formula, = represents the variable value update symbol, and the purpose is to continuously change the influence weight of the corresponding indicator on the mine pressure hazard according to the gradient of the mine pressure hazard evaluation indicator in each iteration and finally find the optimal weight ω of each evaluation indicator. ω i J ( ω i ) represents the partial derivative of the loss function J ( ω i ) with respect to ω , and the derivation process is as follows:
ω i J ω i = 1 m j = 1 m y j · 1 h ω x i j · h ω x i j ω i 1 y j · 1 1 h ω x i j · h ω x i j ω i = 1 m j = 1 m y j · 1 h ω x i j 1 y j · 1 1 h ω x i j h ω x i j ω i = 1 m j = 1 m ( y j · 1 h ω x i j 1 y j · 1 1 h ω x i j ) h ω x i j ( 1 h ω x i j ) W T X + b ω i = 1 m j = 1 m y j · ( 1 h ω x i j ) 1 y j · h ω x i j x i j = 1 m j = 1 m y j h ω x i j x i j = 1 m j = 1 m h ω x i j y j x i j
The update formula for ω in the batch gradient descent algorithm is shown in Formula (17).
ω i = ω i α 1 m j = 1 m h ω x i j y j x i j
In the formula, i = 1 , 2 , , n , and n represents the number of selected evaluation indicators; α represents the learning rate. Finally, the obtained ω i is brought into Formula (6), and the quantitative expression between the mine pressure hazard and each evaluation indicator can be obtained.
In order to improve the accuracy, computational speed, and robustness of the logistic regression prediction model, the Adagrad gradient algorithm is used to solve the model in this paper. The core idea of the Adagrad gradient algorithm is that if the gradient of a parameter is always very large, its corresponding learning rate will become smaller to prevent oscillation. If the gradient of a parameter is always very small, then the learning rate of the parameter becomes larger, allowing it to be updated more quickly. The update formula for ω in the Adagrad gradient algorithm is shown in Formula (18).
ω t + 1 , i = ω t , i α G t , i + g t , i
In the formula, t represents the number of rounds for calculating the gradient, α represents the learning rate, G t , j represents the quadratic sum of the gradients from the first round to the t-th round, represents the smoothing term, which is used to avoid the case where the denominator is 0 and is usually taken as 10 10 , and g t , i , for i = 1,2,3… i, represents the gradient of the i-th evaluation indicator calculated in the t-th round.

3.4. Prediction Algorithm Design

According to the analysis of the above model establishment and solution, the mine pressure hazard prediction algorithm is designed, and the design process of the algorithm is shown in Figure 2.
The design process of the algorithm mainly includes the following steps:
Step 1. Obtain the original mine pressure monitoring data in the mine pressure monitoring management information system of C Coal Mine.
Step 2. Preprocess original data to obtain the sample dataset, including denoising processing and standardized processing, to eliminate the interference of abnormal data and dimensions on the prediction results.
Step 3. Initialize the weights of all evaluation indicators as decimals between 0 and 1.
Step 4. Substitute the initialized weights and the sample dataset into Formula (6) to calculate the predicted values of this iteration.
Step 5. Calculate the gradient of this iteration according to Formula (16).
Step 6. Update the weights of all evaluation indicators using the Adagrad gradient algorithm according to Formula (18).
Step 7. Determine whether the number of iterations reaches the initial setting. If it does not reach the initial setting, go back to step 4 for the next iteration; if it reaches the initial setting, output the current weights.
The prediction algorithm is implemented according to the design process, and the pseudo code is shown in Algorithm 1.
Algorithm 1: Pseudo code for solving prediction model of mine pressure hazard. The solution of logistic regression
1:   Input: Features =   { F 1 , F 2 , , F m } , Labels = { l 1 , l 2 , , l m } , LearnRate
2:   Output: W = { ω 0 , ω 1 , ω 2 , , ω n }
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:    F i = { f 1 , f 2 , , f j } ← feature_pushback( F i )
7:   end for
8:    l i ← label_pushback( l i )
9:   end for
10:  Step2: Standardize the loaded data
11:  for i in range n do
12:   μ ← average( F i )
13:   σ ← standard_deviation( F i )
14:  for j in range m do
15:   f j ( f j μ ) / σ
16:  end for
17:  end for
18:  Step3: Initialize W
19:  for i in range n do
20:   ω n ↔ 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:   ω ω ω L ( h ( F e a t u r e s i ; ω ) , L a b e l s i ) / m //Compute gradient by the Sigmoid function and loss function
26:  end for
27:  r ← r + ϵ + ω 2 (square element-wise)//Accumulate gradient, and ϵ is smooth index
28:   ω ω L e a r n R a t e r ω ( 1 r element-wise)//Update ω
29:  end while
30:  Return W

4. Experiments

4.1. Data Preparation

The data of the mine pressure monitoring management information system of C Coal Mine are obtained and preprocessed as a sample dataset. The dataset has a total of 1436 sets of data and a total of 25 data indicators. The coal mine has a total of five working faces, and the dataset example is shown in Table 1. We used Z-score standardization to eliminate the impact of different dimensions on the predication results. The measured value was not processed. A measured value of 0 indicates that the mine pressure value does not exceed the standard and there is no danger. A measured value of 1 indicates that the mine pressure value exceeds the standard and there is danger.
Among the influencing factors, eight of the influencing factors shown in Table 1 were selected as the evaluation index system X [29,32] in the sample dataset. The evaluation indicators are detailed as follows [36]:
(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

Accuracy, precision, recall, and F1-score were selected as the criteria for assessing the logistic prediction model. The calculation formulas are shown in Formulas (19)–(22).
A c c u r a c y = T P + T N T P + F P + T N + F N
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
F 1 - s c o r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
In these formulas, TP indicates the number of times a danger is present and predicted, FN represents the number of times there is danger but it is not predicted, TN indicates the number of times a danger is not present and is not predicted, and FP represents the number of times there is no danger but danger is predicted. The meaning of accuracy is that the number of correct predictions of mine pressure hazard accounts for the total number of validation samples, which can be understood as the overall accuracy of the prediction model. The meaning of the precision is that the number of correct predictions of mine pressure as dangerous accounts for the number predicted to be dangerous, which can be understood as the percentage of correct predictions of danger in the data. The meaning of the recall is that the number of predictions of danger in the mine pressure accounts for the actual number of dangerous instances, which can be understood as the percentage of the actual dangerous data that are correctly predicted. F1-score is an index used to comprehensively assess the performance of the classification model on the presence and absence of mine pressure hazard, and it is the harmonic average of the accuracy rate and the recall rate. It combines the performance of both to measure whether the mine pressure hazard prediction model can maintain a good balance between the accuracy and recall rates. If the F1-score of the model is high, the prediction performance of the model is good.
A low accuracy indicates that there are many pieces of non-dangerous data predicted to be dangerous, requiring mine managers to waste resources to find the problems, or even stopping mining operations, resulting in the disruption of normal production. Low recall indicates that there are many pieces of dangerous data not correctly predicted, and safety problems may occur, causing equipment damage and casualties, affecting safe and efficient production. A low F1-score indicates that the prediction performance of the established mine pressure hazard prediction model is weak, and its ability to predict mine pressure hazard is low.

4.3. Model Validation

The sample data of mine pressure in Table 1 are used as the fitted data of the solution model, the Adagrad optimization algorithm is used to iteratively solve the logistic regression prediction model established above, and the weight of each evaluation index is obtained so as to determine the importance of each index. In logistic regression, evaluation indicators and results are mapped. A large absolute value of the coefficient of an evaluation index indicates that this feature has great influence on the classification result. In the evaluation index system of this paper, the absolute value of the index coefficient corresponds to the importance of the index. A large absolute value of the coefficient of this evaluation index is large, indicating that the index has a high degree of importance in regression prediction and has a great impact on the classification result of whether there is danger in mine pressure. The calculated results are shown in Table 2.
The quantitative expression between the mine pressure hazard and each indicator is obtained as shown in Formula (23).
h ω x = [ 1 + e x p 8.386 0.3712 x 1 0.398 x 2 0.047 x 3 + 5.8 x 4 + 6.786 x 5 + 0.648 x 6 + 1.61 x 7 2.315 x 8 ] 1
In the formula, x 1 represents the coal seam thickness, x 2 represents the dip angle of the coal seam, x 3 represents the form of hydraulic support, x 4 represents the support resistance, x 5 represents the microseismic energy, x 6 represents the borehole stress, x 7 represents the initial pressure step of the old roof, and x 8 represents the periodic pressure step of the old roof. The predicted value interval obtained using Formula (23) is [0,1]. When its value is greater than 0.5, it is considered that the mine pressure value exceeds the standard and there is danger.
There are five working faces in C Coal Mine. In this study, 50 pieces of ore pressure monitoring data were selected from each working face to verify the regression model after fitting. We compared the predicted results with the actual situation, as shown in Figure 3.
In the figures, the black square represents the measured value, and its value is 0 or 1. A value of 0 indicates that the mine pressure value does not exceed the standard and there is no danger; a value of 1 indicates that the mine pressure value exceeds the standard and there is danger. The red circle represents the predicted value, which is calculated using the mine pressure hazard prediction model. The value interval is [0,1]. A predicted value greater than 0.5 indicates that the mine pressure is dangerous, and a predicted value less than 0.5 indicates that the mine pressure is not dangerous. The predicted and measured values of the five working surfaces were compared and analyzed statistically. The predication results are shown in Table 3.
According to Table 3 and Formulas (19)–(22), the accuracy, precision, recall, and F1-score of the total mine pressure hazard prediction model based on logistic regression are 96%, 88.89%, 92.31%, and 0.91, respectively. The results of the four comprehensive evaluations are relatively high, which preliminarily confirms the feasibility of logistic regression for the mine pressure prediction model.

4.4. Experimental Analysis

4.4.1. Data Credibility Analysis

Cronbach’s alpha was used to analyze the credibility of the sample data before and after preprocessing, and the calculation formula is shown in Formula (24).
α = n n 1 ( 1 S i 2 S 2 )
In the formula, n represents the number of selected evaluation indicators affecting the mine pressure hazard, S i 2 represents the variance in the i-th evaluation indicator in all samples, and S 2 represents the variance in the sum of all evaluation indicators in all samples.
Considering the influence of the data obtained through different preprocessing methods on the prediction model, eight different data preprocessing methods were designed, and the Cronbach’s alphas of the processed data were calculated, respectively, to compare and analyze the credibility of the data. The comparison of the pretreatment methods is shown in Table 4.
The Cronbach’s alphas of the sample data obtained with the eight different preprocessing methods were calculated using Formula (24), and the results are shown in Figure 4.
It can be seen from Figure 5 that the outlier processing of the first four groups of data adopts the method of non-processing, the Cronbach’s alphas of the obtained data are all less than 0.6, and the credibility of the data is very poor. The Cronbach’s alpha of the data obtained by deleting missing values is larger than that obtained by filling the median. The Cronbach’s alpha of the data obtained by standardizing the data using Z-score standardization is larger than that of min–max standardization.
In this paper, the 3 σ principle, deleting missing values, and Z-score standardization are used to preprocess the data. The data obtained through this preprocessing method have the highest Cronbach’s alpha, greater than 0.9. It can be seen that the sample data obtained using this method have the highest credibility.

4.4.2. Experimental Design

  • Experiment 1:
Experimental objective: Verify the influence of eight different data preprocessing methods on the prediction model.
Experimental process: The data processed with these eight different data preprocessing methods were fitted and solved, respectively, for the logistic regression model of mining pressure hazard, and the accuracy, recall, and F1-scores of the predicted results were calculated, respectively.
  • Experiment 2:
Experimental objective: Verify the influence of the selected number of rating indicators on the prediction model.
Experimental process: Select 1, 2, 3 … 12 evaluation indicators to resume logistic regression prediction models, which were solved using the data processed using the optimal preprocessing method in Experiment 1. The accuracy rate, recall rate, and F1-score of each prediction result were also calculated.
  • Experiment 3:
Experimental objective: Verify the prediction effect of the logistic regression model solved using the Adagrad optimization algorithm.
Experimental process: Logistic regression model, support vector machine (SVM), decision tree, and naive Bayes were selected as comparison models, and the accuracy, recall, F1-score, and prediction time of each model were calculated, respectively.

4.4.3. Experimental Comparative Analysis

The results of Experiment 1 are shown in Figure 5. In this paper, the 3 σ principle, deleting missing values, and Z-score standardization are used to preprocess the data. Compared with other preprocessing methods, the data obtained through this method can improve the accuracy, precision, recall, and F1-score of model prediction results up to 88%, 66.67%, 68.3%, and 67.46%.
The results of Experiment 2 are shown in Figure 6. When the number of evaluation indicators is selected from one to three, the accuracy of the model prediction results does not reach 50%, indicating that the model established by selecting too few evaluation indicators cannot accurately predict the mine pressure hazard. As the number of evaluation indicators increases, the accuracy of the model prediction results increases, and when the number of evaluation indicators reaches eight, the accuracy, precision, recall, and F1-score of the model prediction results reach the maximum value. After the number of evaluation indicators exceeds eight, the accuracy of the model prediction results decreases as the number of evaluation indicators increases.
In this paper, eight evaluation indicators were selected to establish the prediction model of mine pressure hazard, and the accuracy, precision, recall, and F1-score of the model reached the maximum value, meaning the model can correctly predict the mine pressure hazard.
The results of Experiment 3 are shown in Table 5. It can be concluded from the table that the logistic regression model is significantly better than the other models for classifying and predicting the mine pressure hazard. Additionally, the logistic regression model solved using the Adagrad gradient algorithm showed the highest increase in accuracy, precision, recall, and F1-score of 17.5%, 54.74%, 66.64%, and 50% compared with other models, while the model took the shortest time to make predictions. Therefore, the logistic regression prediction model solved using the Adagrad gradient algorithm can be used as an effective method to predict mine pressure hazard.
The algorithms mentioned above are briefly introduced below [37].
(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.
In comparison with these other models, the accuracy rate, precision rate, recall rate, and F1-score of the prediction results of the logistic regression model solved using the Adagrad optimization algorithm increased by 17.5%, 54.74%, 66.64%, and 50% at the highest, and the prediction time of this model was the shortest. Therefore, the prediction method using the Adagrad optimization algorithm to solve the logistic regression model can be used as an effective mine pressure hazard prediction method.

4.5. Practical Application

After the logistic regression prediction model is established, the mine pressure data are preprocessed, the Adagrad optimization algorithm is used to solve the prediction model, and the mine pressure data actually recorded by the C Coal Mine pressure monitoring management information system are used to verify the fitted prediction model. At the same time, by comparing the four evaluation indices with the existing classification algorithms, it can be concluded that the improved algorithm in this paper is the best of the four indices, and the prediction takes the least time. This proves that the improved algorithm can be effectively applied to the actual mine pressure warning scenario. After proving this, the mine pressure hazard prediction function is added to the mine pressure monitoring management information system of C Coal Mine in a practical application. This function is based on the logistic regression prediction method, and the mine pressure hazard warning interface is designed to display the warning results. The specific display of the interface is shown in Figure 7 and Figure 8. The interface displays the number and position of each hydraulic support and the ore pressure data and time read by the sensor in real time. When the sensor records the new ore pressure data into the database, the interface immediately predicts the incoming data.
In the prediction process, if y = 0 is calculated from the measured data, the early warning result in the system returns to 0. The information of the hydraulic support on the interface is displayed as white, indicating that the mine pressure value in the mining operation area is safe and there is no danger, as shown in Figure 7. In this case, the mining face can work normally. If y = 1 is obtained from the measured data through calculation, the warning result returns to 1 and the hydraulic support on the interface becomes an eye-catching red color, as shown in Figure 8. The red data send a warning signal to mine managers. Since the location coordinates of the hydraulic support are also included in the early warning interface, it is more convenient for managers to trace the source to find the mine location where the hydraulic support is located. According to the data corresponding to the hydraulic support, the manager can analyze and judge the situation and make correct production decisions in time, which can effectively avoid possible dangers.
After the mine pressure hazard prediction function was implemented in C Coal Mine, the actual results of the prediction function were continuously recorded within six weeks. The results are shown in Figure 9.
The results shown in Figure 9 show that within 6 weeks of using the mine pressure hazard prediction function in C Coal Mine, 20 pieces of data were selected at random time points in advance each week, and the prediction results of each datum were recorded. The prediction results were compared with the actual and statistically analyzed data to obtain Table 6. During the six weeks when the mine pressure hazard prediction function was used in C Coal Mine, 20 corresponding pieces of evaluation index data were selected at random time points each week in advance, and the prediction results of each piece of data were recorded.
According to Table 6 and Formulas (19)–(22), the accuracy rate, precision rate, recall rate, and F1-score of the prediction function are 95%, 82.61%, 90.48%, and 0.86. The prediction results of the mine pressure hazard prediction function are similar to the actual comparison results. Among them, 19 of the 21 pieces of dangerous data were accurately predicted, with an accuracy of 90.4%. The prediction function effectively reduces the possibility of accidents caused by the occurrence of mine pressure danger. In the case test, it helped the mine manager of C Coal Mine locate the danger location and analyze the reason according to the predicted danger warning and make the right decision in time. The results of the comparison of the examples prove the feasibility of applying the logistic regression prediction model calculated using the Adagrad optimization algorithm for the actual mine pressure hazard prediction.

5. Discussion

Mine pressure changes during mining due to geological disturbance, often causing hidden danger. If workers are not made aware of these dangers in time, mine pressure accidents can very easily occur. To solve this problem, this paper combines logistic regression and mine pressure hazard prediction, calculates the evaluation index, and establishes a new mine pressure hazard prediction model based on logistic regression. The prediction model is simulated and compared using the Adagrad optimization algorithm and then applied to C Coal Mine for practical example verification. The main results are as follows:
  • 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

The research results of this paper confirm the feasibility of applying the proposed new mine pressure hazard prediction model based on logistic regression into actual mine pressure hazard prediction. This prediction model realizes a more efficient and accurate prediction of mine pressure hazard and can effectively provide theoretical and tool support for mine managers to predict mine pressure hazard and make appropriate decisions in time. However, there are different grades and categories of mine pressure hazards, and the mine conditions of coal mines and metal mines are different. Therefore, in the future, the multi-classification prediction of mine pressure hazard and the characteristics of metal ore will be thoroughly studied to further realize the intelligent decision making of the prediction function. After the system predicts the level and type of mine pressure danger, the induced causes are intelligently analyzed and corresponding solutions are formulated to guide production.

Author Contributions

Methodological research and writing—original draft preparation, B.Z.; data curation and supervision, Y.S.; resources and funding acquisition, J.H.; investigation, G.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jian Hao, grant numbers 52174121 and No. 2021KJ060, and the APC was funded by the National Natural Science Foundation of China and Project of Shan-dong Province Higher Educational “Youth Innovation Science and Technology Plan” Team.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. 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]
  2. 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]
  3. Wang, S.M. Thoughts about the main energy status of coal and green mining in China. China Coal. 2020, 46, 11–16. [Google Scholar]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. He, C. On Rock-burst Hazards Assessment Based on AHP-SA Model. Energy Technol. Manag. 2021, 46, 110–112. [Google Scholar]
  11. Fan, Z.W. Discussion on Strata Behavior Law at 020907 Fully-mechanized Working Face. Jiangxi Coal Sci. Technol. 2022, 14–17+20. [Google Scholar]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. 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]
  19. 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]
  20. 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]
  21. 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]
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]
  27. 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]
  28. 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]
  29. 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]
  30. 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]
  31. 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]
  32. 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]
  33. 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]
  34. 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]
  35. Zhang, X.; Wei, H.X. Dual averaging method based on AdaGrad adaptive strategy. Ship Electron. Eng. 2022, 42, 41–44+53. [Google Scholar]
  36. 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]
  37. 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]
Figure 1. The mine pressure hazard prediction model.
Figure 1. The mine pressure hazard prediction model.
Applsci 13 12227 g001
Figure 2. Design process of prediction algorithm.
Figure 2. Design process of prediction algorithm.
Applsci 13 12227 g002
Figure 3. (a) Working face 1 comparison of predicted and measured values of the prediction model. (b) Working face 2 comparison of predicted and measured values of the prediction model. (c) Working face 3 comparison of predicted and measured values of the prediction model. (d) Working face 4 comparison of predicted and measured values of the prediction model. (e) Working face 5 comparison of predicted and measured values of the prediction model.
Figure 3. (a) Working face 1 comparison of predicted and measured values of the prediction model. (b) Working face 2 comparison of predicted and measured values of the prediction model. (c) Working face 3 comparison of predicted and measured values of the prediction model. (d) Working face 4 comparison of predicted and measured values of the prediction model. (e) Working face 5 comparison of predicted and measured values of the prediction model.
Applsci 13 12227 g003aApplsci 13 12227 g003b
Figure 4. Cronbach’s alphas of the different data preprocessing methods.
Figure 4. Cronbach’s alphas of the different data preprocessing methods.
Applsci 13 12227 g004
Figure 5. The influence of data obtained using different preprocessing methods on the prediction results.
Figure 5. The influence of data obtained using different preprocessing methods on the prediction results.
Applsci 13 12227 g005
Figure 6. The influence of the number of evaluation indicators selected on the prediction results.
Figure 6. The influence of the number of evaluation indicators selected on the prediction results.
Applsci 13 12227 g006
Figure 7. Mine pressure hazard warning interface.
Figure 7. Mine pressure hazard warning interface.
Applsci 13 12227 g007
Figure 8. Warning interface in the presence of hazard data.
Figure 8. Warning interface in the presence of hazard data.
Applsci 13 12227 g008
Figure 9. (a) Predicted results for week 1. (b) Predicted results for week 2. (c) Predicted results for week 3. (d) Predicted results for week 4. (e) Predicted results for week 5. (f) Predicted results for week 6.
Figure 9. (a) Predicted results for week 1. (b) Predicted results for week 2. (c) Predicted results for week 3. (d) Predicted results for week 4. (e) Predicted results for week 5. (f) Predicted results for week 6.
Applsci 13 12227 g009
Table 1. Sample data for solving prediction model of mine pressure hazard.
Table 1. Sample data for solving prediction model of mine pressure hazard.
Working Face NameCoal Seam Thickness (m)Dip Angle of Coal Seam (Degrees)Form of Hydraulic SupportSupport
Resistance (Mpa)
Microseismic Energy ( 10 5 J)Borehole Stress (Mpa)Initial Pressure Step of Old Roof (m)Periodic Pressure Step of Old Roof (m)Measured Value
23104351224115.1315.7690900
2310435122332.215.3490900
2320130823717.9415.6811120
2320130824016.3615.2811120
2320235824019.5815.1650501
2320235823017.8415.8650500
232034.8113917.0715.761001001
232034.8113117.715.041001000
2330135821318.5115.5872420
23301358264.5515.1972420
Table 2. Evaluation index weight calculation results.
Table 2. Evaluation index weight calculation results.
Evaluation IndexCoal Seam ThicknessDip Angle of Coal SeamForm of Hydraulic SupportSupport ResistanceMicroseismic
Energy
Borehole Stress Initial
Pressure Step of Old Roof
Periodic
Pressure Step of Old Roof
Partial
Regression Coefficient
0.37120.3980.047−5.8−6.78−0.648−1.612.3158.386
Table 3. Prediction results of the model.
Table 3. Prediction results of the model.
ConditionDangerNo DangerDanger and
Predicted (TP)
Dangerous but Not Predicted (FN)No Danger and Not Predicted (TN)No Danger but Predicted (FP)
TimesWorking face 11238120362
Working face 284271411
Working face 31139101381
Working face 41139101372
Working face 5104091400
Total521984841926
Table 4. Different methods of data preprocessing.
Table 4. Different methods of data preprocessing.
MethodOutlier ProcessingMissing Value ProcessingStandardized Processing
1Non-processedFill the medianMin–max standardization
2Non-processedFill the medianZ-score standardization
3Non-processedDelete missing valuesMin–max standardization
4Non-processedDelete missing valuesZ-score standardization
53 σ principle to remove outliersFill the medianMin–max standardization
63 σ principle to remove outliersFill the medianZ-score standardization
73 σ principle to remove outliersDelete missing valuesMin–max standardization
83 σ principle to remove outliersDelete missing valuesZ-score standardization
Table 5. Assessment results of different prediction models.
Table 5. Assessment results of different prediction models.
Prediction ModelAccuracyPrecisionRecallF1-ScoreThe Time Spent on Prediction (ms)
Logistic
(via Adagrad gradient algorithm)
94%83.33%90.9%0.87112,375
Logistic
(via batch gradient descent algorithm)
86%66.67%72.73%0.7356,178
SVM82%56.25%81.82%0.67182,741
Decision tree84%66.67%54.55%0.6219,746
Naive Bayes80%53.85%63.64%0.58276,193
Table 6. Statistics of prediction results.
Table 6. Statistics of prediction results.
ConditionDangerNo DangerDanger and Predicted (TP)Dangerous but Not Predicted (FN)No Danger and Not Predicted (TN)No Danger but Predicted (FP)
TimesWeek 151550141
Week 202000191
Week 341631160
Week 461451140
Week 551550141
Week 611910181
Total2199192954
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.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Zhu, 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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop