Artificial Neural Network-Based Classification of Water Quality Status in Ornamental Fish Farming Using IoT Sensor Data

Authors

  • Nur Aziezah Department of Software Engineering Technology, School of Vocational Studies, IPB University, Jl. Raya Darmaga Kampus IPB, Jawa Barat 16680, Indonesia
  • Walidatush Sholihah Faculty of Science and Engineering, University of Groningen, Broerstraat 5, 9712 CP Groningen, The Netherlands
  • Faldiena Marcelita epartment of Software Engineering Technology, School of Vocational Studies, IPB University, Jl. Raya Darmaga Kampus IPB, Jawa Barat 16680, Indonesia
  • Inna Novianty Department of Software Engineering Technology, School of Vocational Studies, IPB University, Jl. Raya Darmaga Kampus IPB, Jawa Barat 16680, Indonesia
  • Andri Hendriana Department of Technology and Management of Applied Aquaculture, School of Vocational Studies, IPB University, Jl. Raya Darmaga Kampus IPB, Jawa Barat 16680, Indonesia
  • Ima Kusumanti Department of Technology and Management of Applied Aquaculture, School of Vocational Studies, IPB University, Jl. Raya Darmaga Kampus IPB, Jawa Barat 16680, Indonesia

DOI:

https://doi.org/10.58797/cser.030302

Keywords:

aquaculture, artificial neural network, machine learning, ornamental fish, water quality

Abstract

Water quality plays an important role in sustainable agriculture. Water quality also affects the quality and quantity of fishery production. In ornamental fish cultivation, water quality influences not only production, but also the shape and color of the fish. To achieve optimal results, water quality parameters need to be maintained. Manually monitoring water quality parameters faces many challenges such as being time-consuming and not providing real-time data. This study investigated the application of Artificial Neural Networks (ANNs) in classifying water quality status. This status is based on data collected using sensors in an Internet of Things (IoT)-based monitoring system. The dataset comprised five key parameters: pH, temperature, ammonia, total dissolved solids (TDS), and total suspended solids (TSS). This data was collected from aquariums cultivating the Denison barb (Sahyadria denisonii). Data preprocessing was performed using feature standardization. This aims to improve model performance. The ANN model was constructed with two hidden layers (32 and 16 neurons). This model was trained using the Adam optimizer, with categorical cross-entropy as the loss function. The dataset was divided into 80% for training and 20% for testing. The trained ANN model achieved an accuracy of 99.95%. It has low false-positive and false-negative rates. These results demonstrate the effectiveness of ANN in predicting water quality status using sensor-based data. This suggests its potential for real-time monitoring and decision-making support in small-scale ornamental fish aquaculture.

References

Ahsan, M., Mahmud, M., Saha, P., Gupta, K., & Siddique, Z. (2021). Effect of Data Scaling Methods on Machine Learning Algorithms and Model Performance. Technologies, 9(3), 52. https://doi.org/10.3390/technologies9030052

Andersen, D. L., Ashbrook, C. S. A., & Karlborg, N. B. (2020). Significance of big data analytics and the internet of things (IoT) aspects in industrial development, governance and sustainability. International Journal of Intelligent Networks, 1, 107–111. https://doi.org/10.1016/j.ijin.2020.12.003

Atkore, V., Kelkar, N., Badiger, S., Shanker, K., & Krishnaswamy, J. (2020). Multiscale Investigation of Water Chemistry Effects on Fish Guild Species Richness in Regulated and Nonregulated Rivers of India’s Western Ghats: Implications for Restoration. Transactions of the American Fisheries Society, 149(3), 298–319. https://doi.org/10.1002/tafs.10230

Canosa, L. F., & Bertucci, J. I. (2023). The effect of environmental stressors on growth in fish and its endocrine control. Frontiers in Endocrinology, 14, 1109461. https://doi.org/10.3389/fendo.2023.1109461

Chavhan, N., Bhattad, R., Khot, S., Patil, S., Pawar, A., Pawar, T., & Gawli, P. (2025). APAH: An autonomous IoT driven real-time monitoring system for Industrial wastewater. Digital Chemical Engineering, 14, 100217. https://doi.org/10.1016/j.dche.2025.100217

Chen, C., & Hao, J. (2025). A water quality prediction model based on neural network at data-scarce sites. Water-Energy Nexus, 8, 142–151. https://doi.org/10.1016/j.wen.2025.05.001

Chen, Y., Song, L., Liu, Y., Yang, L., & Li, D. (2020). A Review of the Artificial Neural Network Models for Water Quality Prediction. Applied Sciences, 10(17), 5776. https://doi.org/10.3390/app10175776

Choudhary, A. (2024). Internet of Things: A comprehensive overview, architectures, applications, simulation tools, challenges and future directions. Discover Internet of Things, 4(1), 31. https://doi.org/10.1007/s43926-024-00084-3

Dharmarathne, G., Abekoon, A. M. S. R., Bogahawaththa, M., Alawatugoda, J., & Meddage, D. P. P. (2025). A review of machine learning and internet-of-things on the water quality assessment: Methods, applications and future trends. Results in Engineering, 26, 105182. https://doi.org/10.1016/j.rineng.2025.105182

Duque, G., Gamboa-García, D. E., Molina, A., & Cogua, P. (2020). Effect of water quality variation on fish assemblages in an anthropogenically impacted tropical estuary, Colombian Pacific. Environmental Science and Pollution Research International, 27(20), 25740–25753. https://doi.org/10.1007/s11356-020-08971-2

Essamlali, I., Nhaila, H., & El Khaili, M. (2024). Advances in machine learning and IoT for water quality monitoring: A comprehensive review. Heliyon, 10(6), e27920. https://doi.org/10.1016/j.heliyon.2024.e27920

Fini, C., Amato, S. G., Scutaru, D., Biancardi, S., Antonucci, F., Violino, S., Ortenzi, L., Nemmi, E. N., Mei, A., Pallottino, F., Figorilli, S., & Costa, C. (2025). Application of generative artificial intelligence in the aquacultural sector. Aquacultural Engineering, 111, 102568.

https://doi.org/10.1016/j.aquaeng.2025.102568

Hosseinpour, S., Pirdashti, H., Hosseinpour, D., Mousavi, H., & Mohammadpour, S. (2025). Machine and deep learning-based wheat yield prediction: the critical role of soil moisture and remote sensing data. Modeling Earth Systems and Environment, 11(4). https://doi.org/10.1007/s40808-025-02456-2

Jain, A. K., Mercy, T. V. A., & Jain, A. (2022). Issues on the inclusion of Puntius denisonii (Day), a freshwater ornamental fish of global value, as Schedule-I species under the Wild Life (Protection) Amendment Act, 2021 of India. Frontiers in Marine Science, 1–16. https://doi.org/10.3389/fmars.2022.944680

Kumar, Y., Marchena, J., Awlla, A. H., Li, J. J., & Abdalla, H. B. (2024). The AI-Powered Evolution of Big Data. Applied Sciences, 14(22), 10176. https://doi.org/10.3390/app142210176

Maier, H. R., Galelli, S., Razavi, S., Castelletti, A., Rizzoli, A., Athanasiadis, I. N., Sànchez-Marrè, M., Acutis, M., Wu, W., & Humphrey, G. B. (2023). Exploding the myths: An introduction to artificial neural networks for prediction and forecasting. Environmental Modelling & Software, 167, 105776. https://doi.org/10.1016/j.envsoft.2023.105776

Mihály-Karnai, L., Fehér, M., Bársony, P., Szűcs, I., Mihály, T., Fróna, D., & Szőllősi, L. (2025). Sustainability in Intensive Aquaculture—Profitability of Common Carp (Cyprinus carpio) Production in Recirculating Aquaculture Systems Based on a Hungarian Case Study. Animals, 15(7), 1055. https://doi.org/10.3390/ani15071055

Montesinos López, O. A., Montesinos López, A., & Crossa, J. (2022). Fundamentals of Artificial Neural Networks and Deep Learning. https://doi.org/10.1007/978-3-030-89010-0_10

Nagothu, S. K., Bindu Sri, P., Anitha, G., Vincent, S., & Kumar, O. P. (2025). Advancing aquaculture: Fuzzy logic-based water quality monitoring and maintenance system for precision aquaculture. Aquaculture International, 33(1), 32. https://doi.org/10.1007/s10499-024-01701-2

Pasika, S., & Gandla, S. T. (2020). Smart water quality monitoring system with cost-effective using IoT. Heliyon, 6(7). https://doi.org/10.1016/J.HELIYON.2020.E04096

Pasini, A. (2015). Artificial neural networks for small dataset analysis. Journal of Thoracic Disease, 7(5), 953–960. https://doi.org/10.3978/j.issn.2072-1439.2015.04.61

Popescu, S. M., Mansoor, S., Wani, O. A., Kumar, S. S., Sharma, V., Sharma, A., Arya, V. M., Kirkham, M. B., Hou, D., Bolan, N., & Chung, Y. S. (2024). Artificial intelligence and IoT driven technologies for environmental pollution monitoring and management. Frontiers in Environmental Science. https://doi.org/10.3389/fenvs.2024.1336088

Ramadan, M. N. A., Ali, M. A. H., Khoo, S. Y., Alkhedher, M., & Alherbawi, M. (2024). Real-time IoT-powered AI system for monitoring and forecasting of air pollution in industrial environment. Ecotoxicology and Environmental Safety, 283, 116856. https://doi.org/10.1016/j.ecoenv.2024.116856

Simasiku, E. K., Hove, K., Kanyeme, M. N., Awala, S. K., Matengu, K. K., & Iita, T. I. (2024). Comparative Effect of Fish Feeds on the Initial Growth and Survival Rate of Juvenile Redbreast Tilapia (Coptodon rendalli) under Early Hatchery Conditions. Aquaculture Journal, 4(3), 180–191. https://doi.org/10.3390/aquacj4030013

Wu, A.-Q., Li, K.-L., Song, Z.-Y., Lou, X., Hu, P., Yang, W., & Wang, R.-F. (2025). Deep Learning for Sustainable Aquaculture: Opportunities and Challenges. Sustainability, 17(11), 5084. https://doi.org/10.3390/su17115084

Zhang, K., Ye, Z., Qi, M., Cai, W., Saraiva, J. L., Wen, Y., Liu, G., Zhu, Z., Zhu, S., & Zhao, J. (2025). Water Quality Impact on Fish Behavior: A Review From an Aquaculture Perspective. Reviews in Aquaculture, 17(1), e12985. https://doi.org/10.1111/raq.12985

Zhang, S.-Z., Chen, S., & Jiang, H. (2022). A back propagation neural network model for accurately predicting the removal efficiency of ammonia nitrogen in wastewater treatment plants using different biological processes. Water Research, 222, 118908. https://doi.org/10.1016/j.watres.2022.118908

Zou, S., Ju, H., & Zhang, J. (2025). Water Quality Management in the Age of AI: Applications, Challenges, and Prospects. Water, 17(11), 1641. https://doi.org/10.3390/w17111641

Downloads

Published

2025-12-05

How to Cite

Aziezah, N., Sholihah, W., Marcelita, F., Novianty, I., Hendriana, A., & Kusumanti, I. (2025). Artificial Neural Network-Based Classification of Water Quality Status in Ornamental Fish Farming Using IoT Sensor Data. Current STEAM and Education Research, 3(3), 137–148. https://doi.org/10.58797/cser.030302

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.