Model Hybrid Rule-Based dan KNN untuk Kecocokan Ikan Hias Terhadap Kualitas Air
DOI:
https://doi.org/10.30998/jrami.v7i04.2034Keywords:
Ikan Hias, Kualitas Air, K-Nearest Neighbor, Forward Chaining, Sistem Pendukung KeputusanAbstract
The ornamental fish farming industry requires consistent water quality management, yet PT Ikan Bangun Indonesia still relies on manual expert judgment to determine fish-water compatibility, making the process subjective and prone to delayed detection of critical conditions. This research develops a web-based decision support system that combines a Rule-Based System using Forward Chaining as a lethal-condition filter (Layer I) with a K-Nearest Neighbor algorithm based on Euclidean distance as a suitability ranking layer (Layer II), covering ten ornamental fish species and seven water quality parameters. The system was built using a three-tier architecture with React.js, Laravel, PostgreSQL, and a Python FastAPI microservice, and was evaluated through Black Box Testing, White Box Testing using basis path testing, and a Confusion Matrix approach. The results show that all functional scenarios passed testing, all internal logical paths executed correctly, and the hybrid model classified water feasibility with 100% accuracy, precision, and recall. This study concludes that the hybrid Rule-Based and KNN approach is effective and reliable for automated decision-making in ornamental fish aquaculture
Downloads
References
Ahmadiham, A. A., Rueh, E., Leluni, D., Priskila, R., & Handrianus Pranatawijaya, V. (2024). Sistem Pakar Diagnosa Penyakit Telinga Berbasis Web Menggunakan Forward Chaining. JATI (Jurnal Mahasiswa Teknik Informatika), 8(3), 3448–3453. https://doi.org/10.36040/JATI.V8I3.9692
Elza Agustina, & Djoko Adi Widodo. (2023). Aplikasi Kontrol Kualitas Air dan Pakan Untuk Peningkatan Produktivitas Budidaya Betta Fish. Jurnal Rekayasa Dan Teknologi Elektro Universitas Negeri Semarang, 17(1). https://doi.org/10.23960/ELC.V17N1.2395
Fachri, M., Amoah, K., Huang, Y., Cai, J., Alfatat, A., Ndandala, C. B., Shija, V. M., Jin, X., Bissih, F., & Chen, H. (2024). Probiotics and paraprobiotics in aquaculture: a sustainable strategy for enhancing fish growth, health and disease prevention-a review. Frontiers in Marine Science, 11, 1499228. https://doi.org/10.3389/FMARS.2024.1499228/FULL
Hatta, M., & Irwansyah, D. (2025). Analisis Klasifikasi Kualitas Air dalam mengoptimalkan Pertumbuhan Ikan Berdasarkan Model K-Nearest Neighbor. Sisfo: Jurnal Ilmiah Sistem Informasi, 9(1), 63–76. https://doi.org/10.29103/SISFO.V9I1.22133
Hernández-Chover, V., Bellver-Domingo, Á., Castellet-Viciano, L., & Hernández-Sancho, F. (2024). AI Applied to the Circular Economy: An Approach in the Wastewater Sector. Sustainability 16(4), 1365. https://doi.org/10.3390/SU16041365
Ho, C.-T., Yang, C.-F., Guansing, A. S., Nallatan, A., & Magwili, G. (2026). Automated IoT-Based Water Quality Monitoring and Control with Fuzzy Logic for Intensive Aquaculture of Oreochromis niloticus. Engineering Proceedings 134(1), 60. https://doi.org/10.3390/ENGPROC2026134060
Jesika, S., Ramadhani, S., Putri, Y. P., Iskandar, J. W., Medan, P. V, Tuan, S., & Serdang, D. (2023). Implementasi Model Machine Learning dalam Mengklasifikasi Kualitas Air. Jurnal Ilmiah Dan Karya Mahasiswa, 1(6), 382–396. https://doi.org/10.54066/JIKMA.V1I6.1162
Mahendra, R. W., Setiawan, E., & Maulana, R. (2022). Sistem Pengendali Kualitas Air untuk Budidaya Ikan Guppy berdasarkan Suhu dan Derajat Keasaman Air menggunakan Metode KNN (K-Nearest Neighbor). Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer, 6(1), 473–481. https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/10540
Malik Namus Akbar, F. (2024). Metode KNN (K-Nearest Neighbor) untuk Menentukan Kualitas Air. Jurnal TEKNO KOMPAK, 18(1).
Malisaba, J., Barah, O. O., Onep, S. G., Mushabe, D., & Ninsiima, E. (2026). Solar-powered multi-contaminant detection for real-time water quality monitoring. Npj Clean Water 2026. https://doi.org/10.1038/s41545-026-00576-5
Patro, K. S. K., Yadav, V. K., Bharti, V. S., Sharma, A., Sharma, A., & Senthilkumar, T. (2023). IoT and ML approach for ornamental fish behaviour analysis. Scientific Reports 13(1), 21415.https://doi.org/10.1038/s41598-023-48057-w
Prihambodo, B., Y, A. W. F., Prayoga, E., & Jaffar, A. (2023). Klasifikasi Kualitas Air Sungai Berbasis Teknik Data Mining Dengan Metode K-Nearest Neighbor (K-NN). Emitor: Jurnal Teknik Elektro, 1(1), 31–36. https://doi.org/10.23917/EMITOR.V1I1.20833
Putra, W. D., Pahrizal, P., Khairullah, K., & Darnita, Y. (2025). Perancangan Sistem Diagnosa Penyakit Ikan Hias Menggunakan Metode Forward Chaining. JURNAL MEDIA INFOTAMA, 21(1), 329–335. https://doi.org/10.37676/JMI.V21I1.8130
Rachman Duta, A., Nasrullah, E., Ratna Sulistiyanti, S., & Hias Mas Koki, I. (2025). Rancang Bangun Sistem Pemantauan dan Pengendalian Kualitas Air Pada Akuarium Ikan Hias Mas Koki Menggunakan Metode Fuzzy Logic Berbasis IoT(Internet of Things). Jurnal Informatika Dan Teknik Elektro Terapan, 13(1), 2830–7062. https://doi.org/10.23960/JITET.V13I1.5667
Ramadhan, D., & Prasetio, B. H. (2023). Sistem Klasifikasi Kualitas Air Kolam Ikan Lele dengan Metode K-Nearest Neighbor (KNN). Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer, 7(7), 3441–3447. https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/12891
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
Saleh, H. H. E., Attia, E. S. I., Abdel-Aziz, M. F. A., Abdelwarith, A. A., Younis, E. M., Helal, A. M., Davies, S. J., & Soaudy, M. R. (2025). Evaluation of some commercial water additives of probiotics and yucca on water quality, blood biochemistry, sex hormones, reproductive and fry performance of Nile tilapia (Oreochromis niloticus) that were reared under unchanged water. Italian Journal of Animal Science, 24(1), 1224–1238. https://doi.org/10.1080/1828051X.2025.2506735
Satriawan, M. R., Priyandoko, G., & Setiawidayat, S. (2023). Monitoring pH Dan Suhu Air Pada Budidaya Ikan Mas Koki Berbasis IoT. Jambura Journal of Electrical and Electronics Engineering, 5(1), 12–17. https://doi.org/10.37905/JJEEE.V5I1.16083
Tangkelayuk, A., & Mailoa, E. (2022). Klasifikasi Kualitas Air Menggunakan Metode KNN, Naïve Bayes, dan Decision Tree. JATISI, 9(2), 1109–1119. https://doi.org/10.35957/JATISI.V9I2.2048
Wang, X., Cai, Q., Li, D., Hong, L., Ma, Z., Zhu, W., Qian, L., Sun, J., Fan, Z., & Xie, C. (2024). From Concept to Reality: The Practical Implementation of a Laboratory-Based Smart Water Campus Model. Sustainability 17(1), 221. https://doi.org/10.3390/SU17010221
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muhamad Iqbal Nurdin Siregar, Aniq Astofa (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.





