## 3 Model Building and Algorithm Design
### Prediction Algorithm Design
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 goat 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 goat, the upper part of the goat 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. \begin{table}
\begin{tabular}{c c c c c c c c c c} \hline \hline \multirow{3}{*}{ \begin{tabular}{c} **Working** \\ **Face** \\ **Name** \\ **Name** \\ \end{tabular}  } & \begin{tabular}{c} **Coal** \\ **Seam** \\ **Thick-** \\ **(m)** \\ \end{tabular}  & \begin{tabular}{c} **Dip** \\ **Angle of** \\ **Coal** \\ **Seam** \\ **(Degrees)** \\ \end{tabular}  & \begin{tabular}{c} **Form of** \\ **Hy-** \\ **Atraulic** \\ **Support** \\ \end{tabular}  & \begin{tabular}{c} **Support** \\ **Resis-** \\ **(Mpa)** \\ \end{tabular}  & \begin{tabular}{c} **Microseismic** \\ **Energy** \\ **(10\({}^{5}\) J)** \\ \end{tabular}  & \begin{tabular}{c} **Borehole** \\ **Stress** \\ **(Mpa)** \\ \end{tabular}  & \begin{tabular}{c} **Initial** \\ **Pressure** \\ **Step of** \\ **Old Roof** \\ **(m)** \\ \end{tabular}  & \ \begin{tabular}{c} **Periodic** \\ **Pressure** \\ **Step of** \\ **Old Roof** \\ **(m)** \\ \end{tabular}  & \begin{tabular}{c} **Measured** \\ **Value** \\ **(m)** \\ \end{tabular}  \\ \hline
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 &..



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. ### 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).