An Intelligent Catfish Farm Management System Using Random Forest and a Rule-Based Expert System
Authors
Department of Computer Science and Mathematics, Godfrey Okoye University, Enugu (Nigeria)
Department of Computer Science and Mathematics, Godfrey Okoye University, Enugu (Nigeria)
Department of Computer Science and Mathematics, Godfrey Okoye University, Enugu (Nigeria)
Article Information
DOI: 10.51244/IJRSI.2026.1307000292
Subject Category: Machine Learning
Volume/Issue: 13/7 | Page No: 3951-3965
Publication Timeline
Submitted: 2026-08-01
Accepted: 2026-08-06
Published: 2026-08-14
Abstract
Fish farming has been a critical aspect in the area of aquaculture and food production in Nigeria. Despite this, farmers in Nigeria still struggle with water quality management, disease diagnostics, feeding process, data collection, and lack of expert advisory services among other issues. Conventional fish farm management approaches depend on manual observations and experiences, which usually lead to delayed decision making, high fish mortality rates, and low fish productivity. In this study, the development of the intelligent catfish management system is introduced as a solution that uses modern information technology, machine learning algorithms, and expertise to solve catfish farm management problems. The system was developed using Next.js and React for the frontend, Flask (Python) for the backend, and MySQL as the database management system hosted on Aiven. The prediction system implemented in this project uses the random forest classifier algorithm which is trained on 66,868 filtered rows in the Fishpond Health Monitoring Dataset. The predictor uses six water quality parameters including pH, temperature, turbidity, total dissolved solids, nitrate, and ultrasonic depth to predict the state of the ponds into five categories (Excellent, Good, Fair, Poor, and Critical). A rule-based expert system has been added for advisory purposes where needed. The accuracy of the Random Forest model was recorded at 99.60%, with a macro-average precision, recall, and F1 score of 0.99, 1.00, and 0.99, respectively, and confusion matrix indicating minimal error classification in terms of health class. Importance of features analysis indicated that pH level, temperature, and nitrate were the most significant features contributing to the prediction of pond health status. The proposed system can be used for the purpose of managing farm records digitally, AI-powered health prediction with confidence values, automated feeding recommendations, and live expert consultation via a socket.io-powered chat interface. Testing of the system established that all features of the system work as expected.
Keywords
Catfish Farm Management, Artificial Intelligent, Aquaculture, Rule-Based Expert System
Downloads
References
1. Alsakran, A. A., Elmessery, W. M., Szűcs, P., Eid, M. H., Shams, M. Y., Hassan, E., Abd El-Hafeez, T., Mahmoud, S. F., Saleh, D. I., AlQthanin, R. N., Tantawy, A. A., & Elwakeel, A. (2025). Enhancing interpretability and explainability for fish farmers: Decision tree approximation of DDPG for RAS control. International Journal of Intelligent Systems, 33, Article 623. [Google Scholar] [Crossref]
2. Aljehani, F., N'Doye, I., & Laleg-Kirati, T.-M. (2025). Feeding control and water quality monitoring on bioenergetic fish growth modeling: Opportunities and challenges. Aquacultural Engineering, 109, 102511. https://doi.org/10.1016/j.aquaeng.2024.102511 [Google Scholar] [Crossref]
3. Aljehani, F., N'Doye, I., & Laleg-Kirati, T.-M. (2023). Feeding control and water quality monitoring in aquaculture systems: Opportunities and challenges (arXiv:2306.09920). arXiv. https://doi.org/10.48550/arXiv.2306.09920 [Google Scholar] [Crossref]
4. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324 [Google Scholar] [Crossref]
5. Chiu, M.-C., Yan, W.-M., Bhat, S. A., & Huang, N.-F. (2022). Development of smart aquaculture farm management system using IoT and AI-based surrogate models. Journal of Agriculture and Food Research, 9, 100357. https://doi.org/10.1016/j.jafr.2022.100357 [Google Scholar] [Crossref]
6. Cui, M., Liu, X., Liu, H., Zhao, J., Li, D., & Wang, W. (2025). Fish tracking, counting, and behaviour analysis in digital aquaculture: A comprehensive survey. Reviews in Aquaculture, 17(1), e13001. https://doi.org/10.1111/raq.13001 [Google Scholar] [Crossref]
7. Dhinakaran, D., Gopalakrishnan, S., Manigandan, M. D., & Anish, T. P. (2023). IoT-based environmental control system for fish farms with sensor integration and machine learning decision support. arXiv. https://doi.org/10.48550/arXiv.2311.04258 [Google Scholar] [Crossref]
8. Food and Agriculture Organization of the United Nations. (2024). The state of world fisheries and aquaculture 2024: Blue transformation in action. FAO. https://doi.org/10.4060/cd0683en [Google Scholar] [Crossref]
9. Islam, M. M. (2025). Prediction model of aqua fisheries using IoT devices. arXiv. https://doi.org/10.48550/arXiv.2501.10430 [Google Scholar] [Crossref]
10. Jasmin, A., Ramesh, P., & Tanveer, M. (2022). Development of artificial intelligence-based chatbot for smart aquafarm practices. Expert Systems, 40(5), e13123. https://doi.org/10.1111/exsy.13123 [Google Scholar] [Crossref]
11. Kamal, M., Abdallah, M., & Youssef, T. (2025). Automated feed management system for high-density catfish aquaculture using acoustic sensors and machine learning. Agriculturae, 2(6). https://doi.org/10.70177/agriculturae.v2i6.2962 [Google Scholar] [Crossref]
12. Olagunju, O. F., Kristófersson, D., Kristjánsson, T., & Tómasson, T. (2023). Technical efficiency of African catfish production in Nigeria: An analysis involving input quality and COVID-19 effects. Aquaculture Economics & Management, 28(1), 82–108. https://doi.org/10.1080/13657305.2023.2222687 [Google Scholar] [Crossref]
13. Olagunju, O. F., Kristofersson, D., Tómasson, T., & Kristjánsson, T. (2024). Farm strategies and characteristics influencing profitability in Nigerian catfish aquaculture: Lessons on resilience during economic crisis and COVID-type shock. Journal of the World Aquaculture Society, 55(4), 1032–1054. https://doi.org/10.1111/jwas.13058 [Google Scholar] [Crossref]
14. Saville, R., Fujiwara, A., Hatanaka, K., Wada, M., Yaman, A., Puspasari, R., Albasri, H., & Dwiyoga, N. (2026). AI-powered decision support system for mariculture: Real-time fish mortality prediction with random forest. Aquacultural Engineering, 112, 102621. https://doi.org/10.1016/j.aquaeng.2025.102621 [Google Scholar] [Crossref]
15. Salako, J., Ojo, F., & Awe, O. O. (2024). Fish-NET: Advancing aquaculture management through AI-enhanced fish monitoring and tracking. AGRIS on-line Papers in Economics and Informatics, 16(2), 121–131. https://doi.org/10.7160/aol.2024.160209 [Google Scholar] [Crossref]
Metrics
Views & Downloads
Similar Articles
- A Machine Learning Model for Predicting the Risk of Developing Diabetes - T2DM Using Real-World Data from Kilifi, Kenya
- AI-Powered Facial Recognition Attendance System Using Deep Learning and Computer Vision
- A Comprehensive Review on Brain Tumour Segmentation Using Deep Learning Approach
- A Scalable Retrieval-Augmented Generation Pipeline for Domain-Specific Knowledge Applications
- Predictive Maintenance in Semiconductor Manufacturing Using Machine Learning on Imbalanced Dataset