Fuse-teknik Elektro
Vol 6 No 1 (2026): Fuse-teknik Elektro

Klasifikasi Kelayakan Air Minum Berbasis Pembelajaran Mesin Menggunakan Artificial Neural Network dan Random Forest

Fega Yudistira (Teknik Elektro UIN Sunan Gunung Djati Bandung)
DILLA RESTU AGUSTHIANI (Teknik Elektro UIN Sunan Gunung Djati Bandung)
EKI AHMAD ZAKI HAMIDI (Teknik Elektro UIN Sunan Gunung Djati Bandung)
EDI MULYANA (Teknik Elektro UIN Sunan Gunung Djati Bandung)



Article Info

Publish Date
29 Jun 2026

Abstract

Drinking water quality is an important factor affecting public health. Accurate water potability classification is essential to ensure safe water consumption. This study aims to compare the performance of Artificial Neural Network (ANN) and Random Forest algorithms for drinking water potability classification using the Water Potability dataset. The dataset consists of 3,276 samples with nine water quality parameters, including pH, hardness, solids, chloramines, sulfate, conductivity, organic carbon, trihalomethanes, and turbidity. Data preprocessing involved missing value handling, normalization using MinMaxScaler, and train-test splitting with 70:30 and 80:20 scenarios. Model performance was evaluated using accuracy, precision, recall, and F1-score metrics. Experimental results show that the 80:20 train-test split produced the best performance for both models. Under this scenario, ANN achieved an accuracy of 0.66, precision of 0.67, recall of 0.88, and F1-score of 0.76, while Random Forest achieved an accuracy of 0.66, precision of 0.66, recall of 0.87, and F1-score of 0.75. The results showed that ANN achieved slightly higher precision, recall, and F1-score values ​​than Random Forest. However, the performance difference between the two models was relatively small, so both models can be considered competitive in classifying drinking water quality.

Copyrights © 2026






Journal Info

Abbrev

JFT

Publisher

Subject

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

Description

Teknik Elektro, teknik tenaga listrik, mesin-mesin listrik dan sistem konversi energi, elektronika dan aplikasi, teknik komputer, teknologi informasi dan sistem kontrol, telekomunikasi dan teknik ...