River quality classification using different distances in k-nearest neighbors algorithm

Zamri, Nurnadiah and Pairan, Mohammad Ammar and Azman, Wan Nur Amira Wan and Abas, Siti Sabariah and Abdullah, Lazim and Naim, Syibrah and Tarmudi, Zamali and Gao, Miaomiao (2022) River quality classification using different distances in k-nearest neighbors algorithm. Procedia Computer Science, 204. pp. 180-186. ISSN 1877-0509 (https://doi.org/10.1016/j.procs.2022.08.022)

[thumbnail of Zamri-etal-PCS-2022-River-quality-classification-using-different-distances-in-k-nearest-neighbors-algorithm]
Text. Filename: Zamri_etal_PCS_2022_River_quality_classification_using_different_distances_in_k_nearest_neighbors_algorithm.pdf
Final Published Version
License: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 logo

Download (733kB)| Preview


The practice of river quality classification usually uses Water Quality Index (WQI) to evaluate the WQI values of the river. However, due to huge data collection on river pollution with uncertain water quality parameter values, need to a different approach to classify the river quality. One of the supervised classification algorithms known as K-Nearest Neighbors (KNN) seems to give new approach for river quality classification where each data points are classified according to the k number or the closest data points neighbors. Therefore, the purpose of this paper is to apply different distances and distance-weighted in KNN for finding the most accurate river quality classification. The accuracy results are compared with Support Vector Machine (SVM) and Decision Tree (DT) algorithms. This KNN algorithm will give a different approach in classify the river quality.