Comparison of Improved Fisher Discriminant Analysis and Random Forest for Mine Water Inrush Source Identification: Performance in Single-Mine and Multi-Mine Scenarios
Abstract
1. Introduction
2. Materials and Methods
2.1. Study Area
2.2. Model Construction
2.2.1. Fisher Discriminant Analysis
- (1)
- Principles of Fisher Discriminant Analysis and Model Improvement
- (2)
- Validation Principle of the Fisher Discriminant Analysis
2.2.2. Random Forest Algorithm: Principles and Model Construction
- (1)
- Principles of the Random Forest Algorithm
- (2)
- Validation Principle of the Random Forest Algorithm
3. Results
3.1. Model Performance Comparison in the Single-Mine Scenario
3.1.1. Discrimination Accuracy Test
3.1.2. Confusion Matrix
3.1.3. Precision, F1-Score, and Recall
3.1.4. Feature Importance Analysis
- (1)
- Feature Contribution in Fisher for Each Sample
- (2)
- Feature Importance of Each Factor in Random Forest
3.2. Generalization Ability Evaluation in Multi-Mine Joint Discrimination Scenarios
3.2.1. Necessity of Joint Discrimination
3.2.2. Multi-Mine Experimental Results
3.3. Linearity and Nonlinearity of Single-Mine vs. Multi-Mine Datasets
4. Discussion
4.1. Single-Mine Scenario: Causes of Performance Difference
4.2. Multi-Mine (Joint) Scenario: Causes of Performance Difference
4.2.1. Analysis Based on Hydrochemical Data from Each Mine Area
4.2.2. Analysis Based on Spatial Location and Hydrogeological Environment
5. Conclusions
- (1)
- In the single-mine scenario, the improved Fisher discriminant analysis achieves an overall accuracy of 93%, significantly higher than the 87% accuracy of the random forest; its advantage lies in effectively exploiting linearly separable features in the data, making it particularly suitable for situations where hydrochemical indicators exhibit high linear separability.
- (2)
- In multi-mine joint discrimination scenarios, random forest maintains consistently stable accuracies of 77–98%, substantially outperforming the Fisher algorithm (58–85%), demonstrating greater robustness and generalization ability in handling complex nonlinear data distributions.
- (3)
- Model performance is primarily governed by data quality, feature distribution, and hydrogeological similarity rather than solely by sample size; indiscriminately merging data with substantial differences in hydrogeological backgrounds introduces noise and degrades performance.
- (4)
- Algorithm selection should be scenario-dependent: the improved Fisher discriminant analysis is preferred for single-mine applications or when linear features dominate; random forest is recommended for regional-scale, multi-mine joint discrimination or when nonlinear features are prominent. In practice, this scenario-dependent selection helps balance interpretability, data requirements, and predictive robustness when designing monitoring and early-warning workflows.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| Bagging | Bootstrap aggregating |
| FDR | Fisher discriminant ratio |
| FN | False negative |
| TP | True positive |
| FP | False positive |
| LDA | Linear discriminant analysis |
| LOOCV | Leave-one-out cross-validation |
| OOB | Out-of-bag |
| PCA | Principal component analysis |
| PC1 | First principal component |
| PC2 | Second principal component |
| RF | Random forest |
| SVM | Support vector machine(s) |
| TDS | Total dissolved solids |
References
- Xie, K.C. Strategy Research on Clean, High-Efficiency and Susta-Inable Coal Development and Utilization in China; China Science Publishing & Media Ltd. (CSPM): Beijing, China, 2014. [Google Scholar]
- Peng, S.P. Research on Development Strategy of Great Power of Coal Resources; China Science Publishing & Media Ltd. (CSPM): Beijing, China, 2018. [Google Scholar]
- Wang, D.; Sui, W.; Ranville, J.F. Hazard identification and risk assessment of groundwater inrush from a coal mine: A review. Bull. Eng. Geol. Environ. 2022, 81, 421. [Google Scholar] [CrossRef]
- Zeng, Y.; Wu, Q.; Zhao, S.; Miao, Y.W.; Zhang, H.; Mei, A.S.; Meng, S.H.; Liu, X.X. Characteristics, causes, and prevention measures of coal mine water hazard accidents in China. Coal Sci. Technol. 2023, 51, 1−14. [Google Scholar] [CrossRef]
- Yin, S.; Wang, Y.; Li, W. Cause, countermeasures and solutions of water hazards in coal mines in China. Coal Geol. Explor. 2023, 51, 214−221. [Google Scholar] [CrossRef]
- Dong, D.; Zhang, J. Discrimination Methods of Mine Inrush Water Source. Water 2023, 15, 3237. [Google Scholar] [CrossRef]
- Wu, Q.; Mu, W.; Xing, Y.; Qian, C.; Shen, J.; Wang, Y.; Zhao, D. Source discrimination of mine water inrush using multiple methods: A case study from the Beiyangzhuang Mine, Northern China. Bull. Eng. Geol. Environ. 2019, 78, 469–482. [Google Scholar] [CrossRef]
- Bi, Y.; Wu, J.; Zhai, X.; Wang, G.; Shen, S.; Qing, X. Discriminant analysis of mine water inrush sources with multi-aquifer based on multivariate statistical analysis. Environ. Earth Sci. 2021, 80, 144. [Google Scholar] [CrossRef]
- Sun, F.; Wei, J.; Wan, Y.; Liu, C. Recognition method of mine water source based on Fisher’s discriminant analysis and centroid distance evaluation. COAL Geol. Explor. 2017, 45, 80–84. [Google Scholar] [CrossRef]
- Dong, D.; Chen, Z.; Lin, G.; Li, X.; Zhang, R.; Ji, Y. Combining the Fisher Feature Extraction and Support Vector Machine Methods to Identify the Water Inrush Source: A Case Study of the Wuhai Mining Area. Mine Water Environ. 2019, 38, 855–862. [Google Scholar] [CrossRef]
- Li, B.; Xiang, X.; Wu, Q.; Wang, J.; Zeng, Y.; Li, T. Comparison of multiple methods for identifying water sources of mine water inrush and quantitative analysis of mixed water sources based on isotope theory. Earth Sci. Inform. 2025, 18, 26. [Google Scholar] [CrossRef]
- Qian, J.; Tong, Y.; Ma, L.; Zhao, W.; Zhang, R.; He, X. Hydrochemical Characteristics and Groundwater Source Identification of a Multiple Aquifer System in a Coal Mine. Mine Water Environ. 2018, 37, 528–540. [Google Scholar] [CrossRef]
- Huang, P.; Yang, Z.; Wang, X.; Ding, F. Research on Piper-PCA-Bayes-LOOCV discrimination model of water inrush source in mines. Arab. J. Geosci. 2019, 12, 234. [Google Scholar] [CrossRef]
- Cui, M.; Huang, P.; Hu, Y.; Chai, S.; Zhang, Y.; Li, Y. Application of dynamic weight in coal mine water inrush source identification. Environ. Earth Sci. 2024, 83, 69. [Google Scholar] [CrossRef]
- Lu, X.; Wang, Q.; Xie, B.; Zhu, J. A KPCA-ISSA-SVM Hybrid Model for Identifying Sources of Mine Water Inrush Using Hydrochemical Indicators. Water 2025, 17, 2859. [Google Scholar] [CrossRef]
- Yang, Z.; Lv, H.; Xu, Z.; Wang, X. Source discrimination of mine water based on the random forest method. Sci. Rep. 2022, 12, 19568. [Google Scholar] [CrossRef] [PubMed]
- Ma, X.; Yan, P.; Wang, K. Identification of mine water source by random forest combined with laser-induced fluorescence spectra. Front. Environ. Sci. 2024, 12, 1392496. [Google Scholar] [CrossRef]
- Wang, M.; Zhang, J.; Li, H.; Zhang, B.; Yang, Z. Identification of mine water source based on TPE-LightGBM. Sci. Rep. 2024, 14, 12539. [Google Scholar] [CrossRef] [PubMed]
- Yang, Z.; Li, H.; Wang, X.; Meng, H.; Xi, T.; Hou, Z. Source identification of mine water inrush based on GBDT-RS-SHAP. Environ. Earth Sci. 2025, 84, 114. [Google Scholar] [CrossRef]
- Jiang, C.; Zhu, S.; Hu, H.; An, S.; Su, W.; Chen, X.; Li, C.; Zheng, L. Deep learning model based on big data for water source discrimination in an underground multiaquifer coal mine. Bull. Eng. Geol. Environ. 2022, 81, 26. [Google Scholar] [CrossRef]
- Cui, M.; Hou, E.; Feng, D.; Che, X.; Xie, X.; Hou, P. Identification of the Water Inrush Source Based on the Deep Learning Model for Mines in Shaanxi, China. Mine Water Environ. 2025, 44, 133–148. [Google Scholar] [CrossRef]
- Li, X.; Dong, D.; Liu, K.; Zhao, Y.; Li, M. Identification of Mine Mixed Water Inrush Source Based on Genetic Algorithm and XGBoost Algorithm: A Case Study of Huangyuchuan Mine. Water 2022, 14, 2150. [Google Scholar] [CrossRef]
- Fang, B. Method for Quickly Identifying Mine Water Inrush Using Convolutional Neural Network in Coal Mine Safety Mining. Wirel. Pers. Commun. 2022, 127, 945–962. [Google Scholar] [CrossRef]
- Wei, Z.; Dong, D.; Ji, Y.; Ding, J.; Yu, L. Source Discrimination of Mine Water Inrush Using Multiple Combinations of an Improved Support Vector Machine Model. Mine Water Environ. 2022, 41, 1106–1117. [Google Scholar] [CrossRef]
- Zeng, Y.; Mei, A.; Wu, Q.; Meng, S.; Zhao, D.; Hua, Z. Double verification and quantitative traceability: A solution for mixed mine water sources. J. Hydrol. 2024, 630, 130725. [Google Scholar] [CrossRef]
- Ju, Q.; Hu, Y.; Liu, Q. Grey Situation Decision Method Based on Improved Whitening Function to Identify Water Inrush Sources in the Whole Cycle of Coal Mining. Water 2025, 17, 1479. [Google Scholar] [CrossRef]
- Li, Q.; Fan, G.; Zhang, D.; Yu, W.; Zhang, S.; Fan, Z.; Fu, Y. Novel Method on Mixing Degree Quantification of Mine Water Sources: A Case Study. Processes 2024, 12, 433. [Google Scholar] [CrossRef]
- Fisher, R.A. The use of multiple measurements in taxonomic problems. Ann. Hum. Genet. 1936, 7, 179–188. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Qiao, W.; Li, W.; Zhang, S.; Niu, Y. Effects of coal mining on the evolution of groundwater hydrogeochemistry. Hydrogeol. J. 2019, 27, 2245–2262. [Google Scholar] [CrossRef]
- Probst, P.; Anne-Laure, B. To tune or not to tune the number of trees in random forest? J. Mach. Learn. Res. 2018, 18, 1–18. [Google Scholar] [CrossRef]
- Sokolova, M.; Lapalme, G. A systematic analysis of performance measures for classification tasks. Inf. Process. Manag. 2009, 45, 427–437. [Google Scholar] [CrossRef]













| Discriminant Function | Variance Contribution Rate | Eigenvalue | Canonical Correlation Coefficient |
|---|---|---|---|
| Function 1 | 0.6098 | 4.9071 | 0.7809 |
| Function 2 | 0.2176 | 1.7511 | 0.4665 |
| Function 3 | 0.1705 | 1.3723 | 0.4130 |
| Function 4 | 0.0021 | 0.0168 | 0.0457 |
| Metric | Fisher Discriminant Method | Random Forest |
|---|---|---|
| Precision | 0.94 | 0.84 |
| Recall | 0.93 | 0.84 |
| F1-score | 0.93 | 0.83 |
| Dataset | Type | Linear SVM (%) | LDA LOO (%) | SV Fraction (%) |
|---|---|---|---|---|
| Tunlan | Single | 86.96 | 92.17 | 26.96 |
| Lanhe river system | Multi-mine joint | 61.90 | 61.29 | 77.42 |
| Bo-Ma-Fu | Multi-mine joint | 80.87 | 86.18 | 44.72 |
| Longzi Spring domain | Multi-mine joint | 80.00 | 84.62 | 40.00 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sun, H.; Wang, S.; Zhang, Y.; Zhang, C.; Zhao, K.; Zhao, F. Comparison of Improved Fisher Discriminant Analysis and Random Forest for Mine Water Inrush Source Identification: Performance in Single-Mine and Multi-Mine Scenarios. Water 2026, 18, 711. https://doi.org/10.3390/w18060711
Sun H, Wang S, Zhang Y, Zhang C, Zhao K, Zhao F. Comparison of Improved Fisher Discriminant Analysis and Random Forest for Mine Water Inrush Source Identification: Performance in Single-Mine and Multi-Mine Scenarios. Water. 2026; 18(6):711. https://doi.org/10.3390/w18060711
Chicago/Turabian StyleSun, Hongfu, Shu Wang, Yihao Zhang, Chuyang Zhang, Kongyu Zhao, and Fenghua Zhao. 2026. "Comparison of Improved Fisher Discriminant Analysis and Random Forest for Mine Water Inrush Source Identification: Performance in Single-Mine and Multi-Mine Scenarios" Water 18, no. 6: 711. https://doi.org/10.3390/w18060711
APA StyleSun, H., Wang, S., Zhang, Y., Zhang, C., Zhao, K., & Zhao, F. (2026). Comparison of Improved Fisher Discriminant Analysis and Random Forest for Mine Water Inrush Source Identification: Performance in Single-Mine and Multi-Mine Scenarios. Water, 18(6), 711. https://doi.org/10.3390/w18060711

