Frontiers in Computing and Intelligent Systems ISSN: 2832-6024 | Vol. 8, No. 3, 2024 1 Recognition and Prediction of Precursory Feature Signals of Coal Mine Rock Burst Based on Random Forest and MK Trend Test Tianhang Yang * Sun Yueqi Honors College, China University of Mining and Technology, Xuzhou, Jiangsu, China * Corresponding author: Tianhang Yang Abstract: This paper aims to identify and predict the precursory characteristic signals of coal mine rock burst by employing the Random Forest and MK (Mann-Kendall) trend test methods. Initially, the study conducts data preprocessing and analysis on indicators such as electromagnetic radiation intensity, acoustic wave intensity, and type. It uses clustering methods to distinguish various data types and analyzes the data after visual representation. The visualization of data illustrates the distribution and trends, which aids in understanding the characteristics of the data, such as the upward trend observed in precursory feature data. During the data preprocessing phase, diagrams of various classes of data for Acoustic Emission (AE) and Electromagnetic Radiation (EMR) intensity are presented, providing an intuitive reference for subsequent analysis. The research utilizes the Random Forest algorithm and MK trend test to recognize precursor signals and predict their occurrence intervals. The Random Forest model is chosen for its efficiency and accuracy in handling classification and regression issues, while the MK trend test provides a statistical basis for identifying precursory signals by analyzing monotonic trends within the dataset. This study not only enhances the accuracy of precursory signal identification for coal mine rock bursts but also offers scientific early warning and control measures for coal mine safety production, which is of significant practical value. Keywords: Coal Mine Rock Burst; Precursory Characteristic Signals; Random Forest; MK Trend Test; Perceptron. 1. Introduction Coal, as a vital component of global energy, plays a crucial role in economic and social development. However, as coal mining deepens, safety issues in coal mines become increasingly prominent, especially rock burst accidents that not only threaten the lives of miners but also lead to significant economic losses [1]. Therefore, effective prediction and early warning of coal mine rock bursts have become a key issue in the field of mine safety [2-3]. Rock bursts, as a complex mining dynamic phenomenon, are often accompanied by a variety of precursory feature signals. These signals include, but are not limited to, electromagnetic radiation, acoustic wave activity, and other physical phenomena. Identifying and interpreting these precursory signals are of great significance for predicting rock bursts. However, due to the complexity and variability of these signals, traditional prediction methods often struggle to accurately identify and predict rock burst events [4-5]. To improve the accuracy of predictions, this paper proposes an integrated method based on the Random Forest and MK (Mann-Kendall) trend test. The Random Forest, as an ensemble learning technique, enhances model performance and generalization ability by constructing multiple decision trees and voting or averaging [6]. The MK trend test is a non- parametric statistical method that can effectively detect trend changes in a dataset [7]. By combining these two methods, this paper aims to build a robust recognition and prediction model to improve the identification rate and prediction accuracy of precursor signals of coal mine rock bursts. 2. Data Preprocessing 2.1. Data Cleaning Fig 1. AE intensity map of Class A and Class B data In this paper, the data are preprocessed and analyzed first. We preprocessed electromagnetic radiation intensity, acoustic wave intensity and type as indicators, distinguished various data by clustering method, and analyzed the data after data visualization. In the visualization of data, we show the distribution and trend of data by drawing to help understand 2 the characteristics of data, such as the upward trend of precursor feature data. Fig. 1 are AE intensity graphs of data A and B, and Fig. 2 are EMR intensity graphs of two types of data. 2.2. Precursor Feature Signals Within about 7 days before the earth burst, the electromagnetic radiation and acoustic emission signals have a tendency to increase with time cycle, which is called precursor characteristic signals. Rock burst may occur within about 7 days after the occurrence of precursor characteristic signals, so in general, after the occurrence of precursor characteristic signals, certain measures will be taken to prevent rock burst as much as possible. Fig 2. EMR intensity map of Class A and Class B data This paper first analyzed the data, visualized the normal signal and the precursor signal, and found that the precursor characteristic signal strength has a slight upward trend, which is the same as the definition of the precursor characteristic signal. Fig. 3 and Fig. 4 respectively show the comparison results between the normal acoustic emission signal and the precursor characteristic signal strength and the normal electromagnetic radiation signal and the precursor characteristic signal strength. Fig 3. Comparison of the intensity of acoustic emission normal signal and precursor characteristic signal Fig 4. Comparison of the intensity of normal and precursory characteristic signals of electromagnetic radiation 3. Model Construction In the analysis of precursor data, this paper uses KS test, MK trend test and ADF stationary series test to test all the data in Annex 2, distinguish precursor data from normal data, calculate and compare, and get their characteristics. Then, the features are substituted into the random forest model for machine learning and interval calculation. 3.1. KS Test Table 1. Comparison of normal and precursory signals of electromagnetic radiation Normal EMR EMR Precursor Normal AE AE Precursor Quantity 73418 12532 15587 2212 Mean Value 49.81542148 71.05480777 37.4329889 41.66865778 Standard Deviation 18.27932445 91.89984446 3.72736829 8.303728496 Minimum Value 9.61 11.67 29 29 25% Quantile 42.451 30.14875 35.29 35.41 50% Quantile 46.4895 41 36.661 39.105 75% Quantile 52 71.674 38.2655 45.16375 Maximum Value 270 491 80 81 The KS test is a test to see whether a distribution f(x) is consistent with the theoretical distribution g(x), or whether two observed distributions are significantly different. It can be seen from the title that the precursory characteristic signal is the signal of electromagnetic radiation and acoustic emission that has a tendency to increase with time cycle, and this upward trend signal can be screened by KS test. Therefore, in this paper, KS test is carried out on all the data, the precursor feature data is selected, and a series of feature values are obtained by comparing it with the normal data. The data comparison results of normal electromagnetic radiation signals and precursor signals are shown in the table 1. Among them, the more obvious is that the mean value and standard difference are large. 3 Fig 5. Autocorrelation function diagram of acoustic emission normal signal and precursor characteristic signal Fig 6. Autocorrelation function diagram of normal signal and precursory characteristic signal of electromagnetic radiation Then, we visualized the autocorrelation function of the normal signal and precursor signal distinguished after KS test, and the results were shown in Fig. 5 and Fig. 6. We find that the precursory feature signal is like the normal signal, which is not conducive to the further prediction as a feature. Therefore, this paper further tests the data. 3.2. MK Trend Test and ADF Stationary Series Test The machine learning of random forest needs more significant features to predict the interval of the next precursor signal more accurately, so this paper selects MK trend test and ADF stationary sequence test to obtain features. The MK test is a nonparametric trend test used to analyze monotonic trends in a data set. It is based on symbolic comparison of data pairs. Set a time series , for any (i,j) pair where i