Next Article in Journal
A Bibliometric-Systematic Literature Review (B-SLR) of Machine Learning-Based Water Quality Prediction: Trends, Gaps, and Future Directions
Previous Article in Journal
The Risk Assessment for Water Conveyance Channels in the Yangtze-to-Huaihe Water Diversion Project (Henan Reach)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Aquaculture Water Quality Classification Using XGBoost ClassifierModel Optimized by the Honey Badger Algorithm with SHAP and DiCE-Based Explanations

1
Electronics and Communication Engineering Discipline, Khulna University, Khulna 9208, Bangladesh
2
Centre for Wireless Technology, CoE for Intelligent Network, Faculty of Artificial Intelligence & Engineering, Multimedia University, Persiaran Multimedia, Cyberjaya 63100, Selangor, Malaysia
*
Authors to whom correspondence should be addressed.
Water 2025, 17(20), 2993; https://doi.org/10.3390/w17202993
Submission received: 9 September 2025 / Revised: 15 October 2025 / Accepted: 15 October 2025 / Published: 16 October 2025

Abstract

Water quality is an essential part of maintaining a healthy environment for fish farming. The quality of the water is related to a few of the chemical and biological characteristics of water. The conventional evaluation methods of the water quality are often time-consuming and may overlook complex interdependencies among multiple indicators. This study has proposed a robust machine learning framework for aquaculture water quality classification by integrating the Honey Badger Algorithm (HBA) with the XGBoost classifier. The framework enhances classification accuracy and incorporates explainability through SHAP and DiCE, thereby providing both predictive performance and transparency for practical water quality management. For reliability, the dataset has been randomly shuffled, and a custom 5-fold cross-validation strategy has been applied. Later, through the metaheuristic-based HBA, feature selections and hyperparameter tuning have been performed to improve and increase the prediction accuracy. The highest accuracy of 98.45% has been achieved by a particular fold, whereas the average accuracy is 98.05% across all folds, indicating the model’s stability. SHAP analysis reveals Ammonia, Nitrite, DO, Turbidity, BOD, Temperature, pH, and CO2 as the topmost water quality indicators. Finally, the DiCE analysis has analyzed that Temperature, Turbidity, DO, BOD, CO2, pH, Ammonia, and Nitrite are more influential parameters of water quality.
Keywords: water; fish; machine learning; XGBoost; honey badger algorithm; SHAP; DiCE water; fish; machine learning; XGBoost; honey badger algorithm; SHAP; DiCE

Share and Cite

MDPI and ACS Style

Naim, S.M.; Das, P.; Tiang, J.-J.; Nahid, A.-A. Aquaculture Water Quality Classification Using XGBoost ClassifierModel Optimized by the Honey Badger Algorithm with SHAP and DiCE-Based Explanations. Water 2025, 17, 2993. https://doi.org/10.3390/w17202993

AMA Style

Naim SM, Das P, Tiang J-J, Nahid A-A. Aquaculture Water Quality Classification Using XGBoost ClassifierModel Optimized by the Honey Badger Algorithm with SHAP and DiCE-Based Explanations. Water. 2025; 17(20):2993. https://doi.org/10.3390/w17202993

Chicago/Turabian Style

Naim, S M, Prosenjit Das, Jun-Jiat Tiang, and Abdullah-Al Nahid. 2025. "Aquaculture Water Quality Classification Using XGBoost ClassifierModel Optimized by the Honey Badger Algorithm with SHAP and DiCE-Based Explanations" Water 17, no. 20: 2993. https://doi.org/10.3390/w17202993

APA Style

Naim, S. M., Das, P., Tiang, J.-J., & Nahid, A.-A. (2025). Aquaculture Water Quality Classification Using XGBoost ClassifierModel Optimized by the Honey Badger Algorithm with SHAP and DiCE-Based Explanations. Water, 17(20), 2993. https://doi.org/10.3390/w17202993

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop