Journal of Robotics and Control (JRC)
Vol. 6 No. 4 (2025)

Development of Euclidean Distance Algorithm for ANFIS Optimization in IoT-based Pond Water Quality Prediction

Dahria, Muhammad (Unknown)
Defit, Sarjon (Unknown)
Yuhandri, Yuhandri (Unknown)



Article Info

Publish Date
04 Jul 2025

Abstract

Pond water quality is a pivotal factor that influences the productivity and health of biota in aquaculture systems. The monitoring and prediction of water quality parameters, including temperature, pH, and dissolved oxygen (DO) levels, are imperative for maintaining optimal environmental conditions. The objective of this research is to develop the Euclidean Distance algorithm as an optimization method in adaptive neuro-fuzzy inference system (ANFIS) modeling to enhance the accuracy of internet of things (IoT)-based pond water quality prediction. Water quality parameter data is collected in real-time using IoT sensors connected to an ESP32 microcontroller and transmitted to a cloud storage platform for analysis. Subsequently, the data undergoes a series of processing steps, including min-max normalization and feature selection based on Euclidean distance. This process aims to generate a more representative and relevant subset of data for the subsequent model training process. The ANFIS model was trained using the optimized data and evaluated using MSE, MAD, MRSE and MAPE metrics. The training process involving four data sharing scenarios demonstrated a reduction in error when compared to the model that lacked optimization, specifically: The following proportions were determined: 50% versus 50% (0.11824 versus 0.15536), 70% versus 30% (0.18666 versus 0.19454), 80% versus 20% (0.17843 versus 0.18833), and 90% versus 10% (0.22477 versus 0.22859). The findings indicate that the incorporation of the Weighted Euclidean Distance algorithm within the IoT-based prediction system can markedly enhance the efficiency and precision of the ANFIS model.

Copyrights © 2025






Journal Info

Abbrev

jrc

Publisher

Subject

Aerospace Engineering Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Mechanical Engineering

Description

Journal of Robotics and Control (JRC) is an international open-access journal published by Universitas Muhammadiyah Yogyakarta. The journal invites students, researchers, and engineers to contribute to the development of theoretical and practice-oriented theories of Robotics and Control. Its scope ...