In order to solve the problems that machine learning exists in the hazard intelligent prediction field of tunnel water inrush,such as relatively simple models and imperfect prediction accuracy,a prediction model based on the stacking ensemble learning was proposed. Firstly,the tunnel water inrush disaster dataset was established by collecting 232 groups of water inrush disaster data from 95 tunnels,and the data was preprocessed. Then,3 base learners and 2 meta learners were selected to train 8 sets of stacking ensemble models in different combinations,and 6 sets of optimal ensemble models were selected. Finally,the optimal stacking ensemble model was selected by comparing and analyzing the prediction results of 6 groups of parameters optimized and stacking ensemble model with the grid search parameters and the 5-fold cross-validation hyperparameter optimization model. The results show that SVM(Support Vector Machine )+NB (Naive Bayes) + LR (Linear Regression) ensemble model is obtained after the optimal single model SVM is improved with the stacking ensemble learning method. Its accuracy,recall,and F1 score are 0.94,0.91,and 0.92,respectively. The overall prediction effect is better than that of other compative models,and it can accurately predict the hazard level of tunnel water inrush.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |