Method for predicting dust inhalation of miner based on random forest algorithm

By selecting key feature parameters using the random forest algorithm and combining them with the LSTM neural network, the overfitting problem of single-model prediction of human respiratory flow is solved, and high-precision prediction of miners' respiratory flow is achieved.

CN117653052BActive Publication Date: 2026-07-07CHINA UNIV OF MINING & TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNIV OF MINING & TECH
Filing Date
2023-10-19
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In existing technologies, human respiratory flow prediction methods based on a single model suffer from numerous influencing factors, weak robustness, and a tendency to overfit, making accurate prediction difficult.

Method used

The Random Forest algorithm is used to evaluate the importance of multiple feature parameters, select the set of feature parameters with high importance, and combine them with LSTM neural network for respiratory flow prediction, which simplifies the model structure, reduces the risk of overfitting, and enhances the generalization ability.

Benefits of technology

By selecting key feature parameters, the input dimension of the prediction model was reduced, the prediction accuracy and robustness were improved, overfitting was reduced, and accurate prediction of miners' breathing flow was achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117653052B_ABST
    Figure CN117653052B_ABST
Patent Text Reader

Abstract

The application discloses a kind of methods for predicting dust miner's breath flow based on random forest algorithm, including dust miner's breath flow prediction system, the dust miner's breath flow prediction system is by miner's breath characteristic parameter monitoring component, respirator and algorithm prediction module Composition, further include: the miner's breath characteristic parameter monitoring component includes heart rate detector, blood oxygen detection device, temperature tester and portable individual breath monitor, the respirator is viscoelastic silica gel half mask, the respirator is equipped with exhalation valve, the half mask inside and outside both sides are evenly distributed with pressure sensor, the algorithm prediction module is by information receiving unit, central processing unit and information output unit Composition, miner's breath characteristic parameter real-time upload to information receiving unit, and import central processing unit and algorithm prediction are carried out data processing after, and output by information output unit, the method prediction model of the present application is robust, and prediction accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of human respiratory flow prediction technology, specifically a method for predicting the respiratory flow of dust-exposed miners based on a random forest algorithm. Background Technology

[0002] In recent years, a large number of powered air-purifying respirators (PAPRs) have been used in high-dust-concentration working environments in mines. However, the international standards for PAPR air supply are not yet mature. Excessive air supply will accelerate the consumption of electricity and shorten the wearing time, while insufficient air supply will reduce the protective effect. Therefore, accurate prediction of breathing flow for dust-exposed miners is of great significance for realizing on-demand air supply for PAPRs.

[0003] Traditional human respiratory parameter monitoring mainly relies on analytical equipment, a large number of experimental variables, and sample data. Among these, predicting respiratory flow often requires a complex theoretical foundation and an understanding of the parameter model. It is quite difficult to establish a human respiratory flow prediction model using traditional theoretical analysis methods.

[0004] With the development of computer technology, researchers have begun to turn their attention to the field of machine learning algorithms, attempting to use artificial intelligence machine learning algorithms to study human respiratory flow. However, the application of machine learning algorithms is still in its initial stage. Researchers mostly use single models to predict human respiratory parameters, achieving certain prediction results. However, these prediction models have many influencing factors, are mostly not robust, and are prone to overfitting.

[0005] Based on the aforementioned defects and shortcomings, there is an urgent need in this field for a new method for predicting human respiratory flow that can identify the key influencing factors that determine human respiratory flow and thereby accurately predict human respiratory flow.

[0006] Therefore, we propose a method based on the random forest algorithm to predict the breathing flow of dust-exposed miners in advance, in order to solve the problems mentioned above. Summary of the Invention

[0007] The purpose of this invention is to provide a method for predicting the respiratory flow of dust-exposed miners based on the random forest algorithm. This addresses the problem that while many single models are used to predict human respiratory parameters and achieve certain prediction results, these models are often influenced by many factors, have poor robustness, and are prone to overfitting.

[0008] To achieve the above objectives, the present invention provides the following technical solution: a method for predicting the breathing flow of dust-exposed miners based on a random forest algorithm, comprising a dust-exposed miner breathing flow prediction system, wherein the dust-exposed miner breathing flow prediction system consists of a miner breathing characteristic parameter monitoring component, a respirator, and an algorithm prediction module;

[0009] Also includes:

[0010] The miner's respiratory characteristic parameter monitoring component includes a heart rate monitor, a blood oxygen detection device, a temperature tester, and a portable individual respiratory monitor;

[0011] The respirator is a viscoelastic silicone half-mask. The respirator is equipped with an exhalation valve. Pressure sensors are distributed on both the inner and outer sides of the half-mask. The pressure sensors are used to analyze the resistance during the miner's breathing process.

[0012] The algorithm prediction module consists of an information receiving unit, a central processing unit, and an information output unit. The miner's breathing characteristic parameters are uploaded to the information receiving unit in real time, and then transmitted to the central processing unit for data processing and algorithm prediction before being output through the information output unit.

[0013] Preferably, the heart rate monitor is used to measure the miner's heart rate data during operation, including instantaneous heart rate HRactive, relative heart rate index RHRI, and metabolic rate W, and the blood oxygen detection device is used to detect the miner's blood oxygen saturation SPO2.

[0014] By adopting the above technical solution, the random forest algorithm is used to evaluate the importance of multiple feature parameters, select the feature parameters with high importance to establish the optimal feature parameter set, and predict the breathing flow of miners. This effectively reduces the dimensionality of the input parameters of the prediction model, simplifies the prediction model, reduces the risk of model overfitting, and enhances the generalization ability of the prediction model.

[0015] Preferably, the temperature tester is used to measure the miner's body surface temperature T1 and oral and nasal temperature T2, and the portable individual respiratory monitor is used to monitor the respiratory flow during the mining operation in real time.

[0016] By adopting the above technical solution, it is convenient to measure body surface temperature T1 and oral and nasal temperature T2, which facilitates the subsequent screening of respiratory characteristic parameters with high importance.

[0017] Preferably, when inhaling, the exhalation valve diaphragm is closed, and the dust-laden airflow enters the mask after being filtered by the filter cartridge. When exhaling, the exhalation valve diaphragm opens outward, and the exhaust gas is quickly discharged.

[0018] By adopting the above technical solution, the exhalation valve is used to monitor the breathing flow during mining operations, which facilitates the subsequent acquisition of a set of characteristic parameters with the fewest number of characteristic parameters and the lowest error rate.

[0019] Preferably, S1, data acquisition and preprocessing: Before the dust exposure operation begins, the test miners wear respirators and respiratory characteristic parameter monitoring systems. During the operation, the miners' respiratory characteristic parameters are collected in real time to establish an original sample dataset. After the collection is completed, data preprocessing is performed, including missing value handling, data cleaning and normalization, and the dataset is divided into training set, validation set and test set according to a specified ratio.

[0020] S2. Random Forest Algorithm for Selecting Important Feature Parameters: Input the training set into the random forest model, evaluate the importance of the miners' breathing feature parameters, select the feature parameters based on the importance evaluation results, select the breathing feature parameters with high importance, and use this set of parameters as the optimal feature parameter set;

[0021] S3. Construct an LSTM neural network for training: Combine the optimal feature parameter set with the miner's historical respiratory flow as the input variable of the LSTM neural network, train it using the training set data, use the validation set data to optimize the model's parameter settings, and finally use the trained model to predict the data in the test set, and analyze the prediction results to verify the model's effectiveness in predicting respiratory flow.

[0022] By adopting the above technical solution, feature parameters are selected based on the importance assessment results, high-importance respiratory feature parameters are screened out, and the prediction results are analyzed to facilitate the verification of the model's prediction effect.

[0023] Preferably, in step S1, the miner's respiratory characteristic parameters specifically include instantaneous heart rate HRactive, relative heart rate index RHRI, metabolic rate W, blood oxygen saturation SPO2, body surface temperature T1, oral and nasal temperature T2, and respiratory pressure P.

[0024] By adopting the above technical solution, the feature parameters can be sorted to obtain the feature parameter set with the fewest required number and the smallest error rate.

[0025] Preferably, in step S2, obtaining the optimal feature parameter set specifically includes the following steps:

[0026] S21. Randomly select a certain size of data with replacement from the training set as a subset of the training set. Data that is not selected during the random resampling process is formed as out-of-bag data and used as the test set.

[0027] S22. Construct a random forest model using randomly selected sub-training sets;

[0028] S23. For each decision tree in the random forest, calculate the corresponding out-of-bag error. Then, add noise perturbation to the feature parameters in the out-of-bag data and calculate the corresponding out-of-bag error.

[0029] S24. Evaluation of the importance of characteristic parameters: Calculation of the importance of characteristic parameters. The larger the c value, the higher the importance of the feature parameter, and vice versa. Here, error1 represents the out-of-bag data error before noise interference, error2 represents the out-of-bag data error after adding noise interference, and n represents the total number of decision trees in the random forest.

[0030] S25. Sort all feature parameters according to their importance, and use a search method from low to high. Each time, delete the feature with the lowest importance from the feature parameter set and calculate the corresponding out-of-bag error rate. Then iterate until the feature parameter set with the fewest number of feature parameters and the smallest error rate is obtained as the optimal feature parameter set.

[0031] By adopting the above technical solution, the importance value c of the parameter is obtained through calculation, which facilitates the determination of the optimal feature parameter set.

[0032] Preferably, the number of hidden layers and the number of memory units in each hidden layer of the LSTM neural network are determined by exhaustive search, and the number of training iterations of the model is optimized by particle swarm optimization to achieve the best prediction effect.

[0033] By adopting the above technical solution and combining it with an LSTM neural network, the optimal prediction effect can be achieved.

[0034] Preferably, the formula for calculating the mean absolute percentage error (MAE), the evaluation index of the model's prediction performance, is as follows:

[0035]

[0036] Where n is the total number of predictions; y act (i), y pred (i) represents the actual and predicted values ​​of the miner's breathing flow at time i, respectively.

[0037] By adopting the above technical solution, the average absolute percentage error can be calculated using a formula, which facilitates the evaluation of the model's prediction performance.

[0038] Compared with the prior art, the beneficial effects of the present invention are: by using the random forest algorithm to evaluate the importance of multiple feature parameters, selecting the feature parameters with high importance to establish the optimal feature parameter set, and predicting the breathing flow of miners, the risk of model overfitting is reduced and the generalization ability of the prediction model is enhanced.

[0039] 1. The method of this invention has strong predictive model robustness. It uses the random forest algorithm to evaluate the importance of multiple feature parameters, selects the feature parameters with high importance to establish the optimal feature parameter set, and uses it to predict the breathing flow of miners. This effectively reduces the dimensionality of the input parameters of the prediction model, simplifies the prediction model, reduces the risk of model overfitting, and enhances the generalization ability of the prediction model. It solves the problem that existing prediction models often use a single model to predict human respiratory parameters, which achieve certain prediction results. However, these prediction models have many influencing factors, are mostly not robust, and are prone to overfitting.

[0040] 2. The method of this invention has high prediction accuracy. Human respiratory flow data is a time series data. This invention uses LSTM neural network as the underlying network model for predicting the respiratory flow of dust-exposed miners, and integrates random forest algorithm to solve the problem of input data redundancy. It shows high prediction accuracy in practical applications. Attached Figure Description

[0041] Figure 1 This is a flowchart of the method for predicting the respiratory flow of dust-exposed miners based on the random forest algorithm and LSTM neural network according to the present invention;

[0042] Figure 2 This is a schematic diagram showing the importance ranking of each feature parameter in the method for predicting the breathing flow of dust-exposed miners based on the random forest algorithm and LSTM neural network of the present invention.

[0043] Figure 3 This diagram illustrates the prediction results of the method for predicting the breathing flow rate of dust-exposed miners based on the random forest algorithm and LSTM neural network according to the present invention.

[0044] Figure 4 This is a schematic diagram of the miner breathing characteristic parameter monitoring component in the method for predicting the breathing flow of dust-exposed miners based on the random forest algorithm and LSTM neural network of the present invention.

[0045] Figure 5 This is a schematic diagram of a central rate detector for the method of predicting the breathing flow of dust-exposed miners based on the random forest algorithm and LSTM neural network of the present invention.

[0046] In the figure: 1. Miner's respiratory characteristic parameter monitoring component; 2. Breathing device; 3. Algorithm prediction module; 4. Heart rate monitor; 5. Blood oxygen detection device; 6. Temperature tester; 7. Portable individual respiratory monitor; 8. Expiratory valve; 9. Pressure sensor. Detailed Implementation

[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0048] Please see Figure 1-5 The present invention provides a technical solution: a method for predicting the breathing flow of dust-exposed miners based on the random forest algorithm, including a dust-exposed miner breathing flow prediction system, which consists of a miner breathing characteristic parameter monitoring component 1, a respirator 2, and an algorithm prediction module 3.

[0049] The miner's respiratory characteristic parameter monitoring component 1 includes a heart rate monitor 4, a blood oxygen detection device 5, a temperature tester 6, and a portable individual respiratory monitor 7. The heart rate monitor 4 can be a Likang Prince-180B, the blood oxygen detection device 5 can be an LK87 finger clip pulse oximeter, the temperature tester 6 can be an AR827 high-precision temperature and humidity tester, and the portable individual respiratory monitor 7 can be a respirator comprehensive tester.

[0050] Heart rate monitor 4 is used to measure the miner's heart rate data during operation, including instantaneous heart rate HRactive, relative heart rate index RHRI and metabolic rate W. Blood oxygen detection device 5 is used to detect the miner's blood oxygen saturation SPO2.

[0051] Temperature meter 6 is used to measure the miner's body surface temperature T1 and oral and nasal temperature T2, and portable individual respiratory monitor 7 is used to monitor the breathing flow during the mining operation in real time.

[0052] The respirator 2 is a viscoelastic silicone half-mask. The respirator 2 is equipped with an exhalation valve 8. When inhaling, the diaphragm of the exhalation valve 8 is closed, and the dust-laden airflow enters the half-mask after being filtered by the filter cartridge. When exhaling, the diaphragm of the exhalation valve 8 opens outward, and the exhaust gas is quickly discharged. Pressure sensors 9 are distributed on both the inner and outer sides of the half-mask. The pressure sensors 9 are used to analyze the resistance during the miner's breathing process.

[0053] The algorithm prediction module 3 consists of an information receiving unit, a central processing unit, and an information output unit. The miner's breathing characteristic parameters are uploaded to the information receiving unit in real time, and then transmitted to the central processing unit for data processing and algorithm prediction before being output through the information output unit.

[0054] A method for predicting the respiratory rate of dust-exposed miners based on the random forest algorithm is described below:

[0055] Example 1: As Figure 1As shown, S1, data acquisition and preprocessing: Before the dust exposure operation begins, the test miners wear respirators 2 and the respiratory characteristic parameter monitoring system. During the operation, the respiratory characteristic parameters of the miners are collected in real time to establish the original sample dataset. After the collection is completed, data preprocessing is performed, including missing value handling, data cleaning and normalization, and the dataset is divided into training set, validation set and test set according to the specified ratio.

[0056] In step S1, the specific respiratory characteristic parameters of the miner include instantaneous heart rate HRactive, relative heart rate index RHRI, metabolic rate W, blood oxygen saturation SPO2, body surface temperature T1, oral and nasal temperature T2, and respiratory pressure P.

[0057] Example 2: Figure 2 As shown, S2, the random forest algorithm selects important feature parameters: the training set is input into the random forest model, the importance of the miner's breathing feature parameters is evaluated, and the feature parameters are selected based on the importance evaluation results. The breathing feature parameters with high importance are selected, and this set of parameters is used as the optimal feature parameter set.

[0058] Step S2, obtaining the optimal feature parameter set specifically includes the following steps:

[0059] S21. Randomly select a certain size of data with replacement from the training set as a subset of the training set. Data that is not selected during the random resampling process is formed as out-of-bag data and used as the test set.

[0060] S22. Construct a random forest model using randomly selected sub-training sets;

[0061] S23. For each decision tree in the random forest, calculate the corresponding out-of-bag error. Then, add noise perturbation to the feature parameters in the out-of-bag data and calculate the corresponding out-of-bag error.

[0062] S24. Evaluation of the importance of characteristic parameters: Calculation of the importance of characteristic parameters. The larger the c value, the higher the importance of the feature parameter, and vice versa. Here, error1 represents the out-of-bag data error before noise interference, error2 represents the out-of-bag data error after adding noise interference, and n represents the total number of decision trees in the random forest.

[0063] S25. Sort all feature parameters according to their importance, and use a search method from low to high. Each time, delete the feature with the lowest importance from the feature parameter set and calculate the corresponding out-of-bag error rate. Then iterate until the feature parameter set with the fewest number of feature parameters and the smallest error rate is obtained as the optimal feature parameter set.

[0064] Example 3: Figure 3-5As shown, S3, constructing an LSTM neural network for training: combining the optimal feature parameter set with the miner's historical respiratory flow as the input variable of the LSTM neural network, training it using training set data, using validation set data to optimize the model's parameter settings, and finally using the trained model to predict the data in the test set, and analyzing the prediction results to verify the model's effectiveness in predicting respiratory flow.

[0065] The number of hidden layers and the number of memory units in each hidden layer of the LSTM neural network are determined by exhaustive search. The number of training iterations of the model is optimized by particle swarm optimization to achieve the best prediction results.

[0066] The formula for calculating the mean absolute percentage error (MAE), the evaluation metric for model prediction performance, is as follows:

[0067]

[0068] Where n is the total number of predictions; y act (i), y pred (i) represents the actual and predicted values ​​of the miner's breathing flow at time i, respectively.

[0069] Working principle: When using this device, firstly, as... Figure 1-5 As shown, before the dust exposure operation began, the test miners wore respirators 2 and a respiratory characteristic parameter monitoring system. During the operation, the miners' respiratory characteristic parameters were collected in real time to establish an original sample dataset. After the collection was completed, data preprocessing was performed, including missing value handling, data cleaning and normalization. The dataset was then divided into training set, validation set and test set according to a specified ratio. The specific respiratory characteristic parameters of the miners included instantaneous heart rate HRactive, relative heart rate index RHRI, metabolic rate W, blood oxygen saturation SPO2, body surface temperature T1, oral and nasal temperature T2 and respiratory pressure P.

[0070] The training set is input into the random forest model to evaluate the importance of the miners' breathing feature parameters. Based on the importance evaluation results, the feature parameters are selected, and the breathing feature parameters with high importance are selected as the optimal feature parameter set.

[0071] A certain size of data is randomly sampled with replacement from the training set as a subset. Data not sampled during random resampling forms the out-of-bag (OABS) data, which serves as the test set. A random forest model is constructed using the randomly sampled OABS model. For each decision tree in the random forest, the corresponding OABS error is calculated. Noise perturbations are then added to the feature parameters in the OABS data, and the corresponding OABS errors are calculated. The importance of the feature parameters is evaluated and calculated. The larger the c value, the higher the importance of the feature parameter, and vice versa. Here, error1 represents the out-of-bag error before noise interference, error2 represents the out-of-bag error after adding noise interference, and n represents the total number of decision trees in the random forest.

[0072] All feature parameters are sorted according to their importance. A search method from low to high is used, in which the feature with the lowest importance is removed from the feature parameter set at each time, and the corresponding out-of-bag error rate is calculated. The process is repeated until the feature parameter set with the fewest number of feature parameters and the smallest error rate is obtained as the optimal feature parameter set.

[0073] The number of hidden layers and the number of memory units in each hidden layer of the LSTM neural network are determined by exhaustive search. The number of training iterations of the model is optimized by particle swarm optimization to achieve the best prediction results.

[0074] The formula for calculating the mean absolute percentage error (MAE), the evaluation metric for model prediction performance, is as follows:

[0075]

[0076] Where n is the total number of predictions; y act (i), y pred (i) represents the actual and predicted values ​​of the miner's breathing flow at time i, respectively.

[0077] The optimal set of feature parameters, combined with the miner's historical respiratory flow, is used as the input variable of the LSTM neural network. The model is trained using training data, and validation data is used to optimize the model's parameter settings. Finally, the trained model is used to predict data in the test set, and the prediction results are analyzed to verify the model's effectiveness in predicting respiratory flow.

[0078] The contents not described in detail in this specification are existing technologies known to those skilled in the art.

[0079] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for predicting the breathing flow of dust-exposed miners based on a random forest algorithm, comprising a dust-exposed miner breathing flow prediction system, wherein the dust-exposed miner breathing flow prediction system consists of a miner breathing characteristic parameter monitoring component (1), a respirator (2), and an algorithm prediction module (3); Its features are, Also includes: The miner's respiratory characteristic parameter monitoring component (1) includes a heart rate detector (4), a blood oxygen detection device (5), a temperature tester (6), and a portable individual respiratory monitor (7). The respirator (2) is a viscoelastic silicone half-mask. The respirator (2) is equipped with an exhalation valve (8). Pressure sensors (9) are evenly distributed on both the inner and outer sides of the half-mask. The pressure sensors (9) are used to analyze the resistance during the miner's breathing process. The algorithm prediction module (3) consists of an information receiving unit, a central processing unit and an information output unit. The miner's breathing characteristic parameters are uploaded to the information receiving unit in real time and then transmitted to the central processing unit for data processing and algorithm prediction before being output through the information output unit. The usage steps are as follows: S1. Data Acquisition and Preprocessing: Before the dust exposure operation begins, the test miners wear respirators (2) and a respiratory characteristic parameter monitoring system. During the operation, the miners' respiratory characteristic parameters are collected in real time to establish an original sample dataset. After the collection is completed, data preprocessing is performed, including missing value processing, data cleaning and normalization operations. The dataset is then divided into training set, validation set and test set according to a specified ratio. The specific respiratory characteristic parameters of the miners include instantaneous heart rate HRactive, relative heart rate index RHRI, metabolic rate W, blood oxygen saturation SpO2, body surface temperature T1, mouth and nose temperature T2 and respiratory pressure P. S2. Random Forest Algorithm for Selecting Important Feature Parameters: Input the training set into the random forest model, evaluate the importance of the miners' breathing feature parameters, select the feature parameters based on the importance evaluation results, select the breathing feature parameters with high importance, and use this set of parameters as the optimal feature parameter set; S3. Construct an LSTM neural network for training: Combine the optimal feature parameter set with the miner's historical respiratory flow as the input variable of the LSTM neural network, train it using the training set data, use the validation set data to optimize the model's parameter settings, and finally use the trained model to predict the data in the test set, and analyze the prediction results to verify the model's effectiveness in predicting respiratory flow.

2. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: The heart rate monitor (4) is used to measure the miner's heart rate data during operation, including instantaneous heart rate HRactive, relative heart rate index RHRI and metabolic rate W. The blood oxygen detection device (5) is used to detect the miner's blood oxygen saturation SpO2.

3. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: The temperature tester (6) is used to measure the miner's body surface temperature T1 and mouth and nose temperature T2, and the portable individual respiratory monitor (7) is used to monitor the breathing flow during the mining operation in real time.

4. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: When inhaling, the diaphragm of the exhalation valve (8) is closed, and the dust-laden airflow enters the mask after being filtered by the filter box. When exhaling, the diaphragm of the exhalation valve (8) opens to the outside, and the exhaust gas is quickly discharged.

5. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: Step S2, obtaining the optimal feature parameter set specifically includes the following steps: S21. Randomly select a certain size of data with replacement from the training set as a subset of the training set. Data that is not selected during the random resampling process is formed as out-of-bag data and used as the test set. S22. Construct a random forest model using randomly selected sub-training sets; S23. For each decision tree in the random forest, calculate the corresponding out-of-bag error. Then, add noise perturbation to the feature parameters in the out-of-bag data and calculate the corresponding out-of-bag error. S24. Evaluation of the importance of characteristic parameters: Calculation of the importance of characteristic parameters. , The larger the value, the higher the importance of the feature parameter, and vice versa. This indicates the out-of-bag data error before noise interference. This indicates the error in out-of-bag data after adding noise interference. This represents the total number of decision trees in the random forest; S25. Sort all feature parameters according to their importance, and use a search method from low to high. Each time, delete the feature with the lowest importance from the feature parameter set and calculate the corresponding out-of-bag error rate. Then iterate until the feature parameter set with the fewest number of feature parameters and the smallest error rate is obtained as the optimal feature parameter set.

6. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: The number of hidden layers and the number of memory units in each hidden layer of the LSTM neural network are determined by exhaustive search, and the number of training iterations of the model is optimized by particle swarm optimization to achieve the best prediction results.

7. The method for predicting the breathing rate of dust-exposed miners based on the random forest algorithm according to claim 1, characterized in that: The formula for calculating the mean absolute percentage error, the evaluation index of the model's prediction performance, is as follows: in, To predict the total number of times; , They represent The actual and predicted values ​​of the miner's breathing flow at any given moment.