IMPLEMENTATION OF THE K-NEAREST NEIGHBOR METHOD IN KNOWING WATER QUALITY

  • David Nico L Nainggolan System Computer, Universitas Pembangunan Pancabudi Medan
  • Eko Hariyanto System Computer, Universitas Pembangunan Pancabudi Medan
  • Arpan Arpan System Computer, Universitas Pembangunan Pancabudi Medan
Keywords: Classification, K-NN, Accuracy, Water

Abstract

The function of classification is the process carried out in predicting a data that has a class that is still unknown, the pattern that is owned is also already regular in a classification method. K-NN is a group that has an instances-based learning system, in conducting group searches by performing the value of k objects into the test with the closest value to the value of other data. KNN uses the closest distance value to the tested dataset in carrying out the classification process. Drinking water is very important for health and is a very effective component for the health of the human body. Health is very influential on the country's economy, it is necessary to invest in water that is very beneficial for the community. This study conducted a search for accuracy of water quality with data as many as 3276 different bodies of water in order to know which water can be drunk and not drinkable. The results of the accuracy of the KNN classification model that can increase the level of accuracy better for the data used. So the research on water quality has an accuracy of 56.40% with 370 data on drinkable water. Researchers hope that accuracy can be improved again by combining the optimization of the classification model in future studies

Downloads

Download data is not yet available.

References

[1]. Aryza, S., Irwanto, M., Lubis, Z., Siahaan, A. P. U., Rahim, R., & Furqan, M. (2018). A Novelty Design Of Minimization Of Electrical Losses In A Vector Controlled Induction Machine Drive. In IOP Conference Series: Materials Science and Engineering (Vol. 300, No. 1, p. 012067). IOP Publishing.
[2]. Gou,J., .Yi.Z., .Du.L.&Xiong,T. .2012. .A.Local.Mean-Based.k-Nearest.CentroidNeighbor.Classifier..The.Computer.Journal.55(6):pp.1058-1071. .
[3]. Nur Anisah. 2019. Analisis.Algoritma.Support.Vector.Machine.Learning.Dan.K-Nearest.Neighbor.Dalam.Akurasi.Data..Universitas.Sumatera.Utara.
[4]. Pan, Z., .Wang, .Y. .& .Ku, .W. .2017. .A.New.General.Nearest.Neighbor.ClassificationBased.On.The.Mutual.Neighborhood.Information..KnowledgeBased.Systems.121: 142-152.
[5]. Tan, P., Steinbach, M., & Kumar, V. 2006. Introduction to Data Mining. Boston: Pearson Education.
Published
2022-06-30
How to Cite
David Nico L Nainggolan, Eko Hariyanto, & Arpan, A. (2022). IMPLEMENTATION OF THE K-NEAREST NEIGHBOR METHOD IN KNOWING WATER QUALITY. INFOKUM, 10(02), 1194-1197. Retrieved from http://infor.seaninstitute.org/index.php/infokum/article/view/620