MATHunesa: Jurnal Ilmiah Matematika
Vol. 14 No. 02 (2026)

KLASIFIKASI LAJU PERTUMBUHAN PENDUDUK ANTAR PROVINSI DI INDONESIA MENGGUNAKAN METODE K-NEAREST NEIGHBOR

Agung Atra Perkasa (Universitas Negeri Medan)
Emon Sejahtera Zendrato (Universitas Negeri Medan)
Ilham Pratama (Universitas Negeri Medan)
Hizkia Simamora (Universitas Negeri Medan)



Article Info

Publish Date
31 Aug 2026

Abstract

Population data plays a crucial role in development planning, yet its utilization has not yet been optimized to generate truly informative insights. This study aims to classify population growth rates across provinces in Indonesia into low, medium, and high categories using the K-Nearest Neighbor (KNN) algorithm. The research process includes data collection and preprocessing, category labeling using the quantile method, data normalization via Min-Max Scaling, and splitting the data into training and test sets with a 70:30 ratio. The KNN model was built using parameter values of k, namely 3, 5, and 7, and the best value of k was selected based on the model evaluation results. Evaluation was performed using a confusion matrix by calculating the accuracy value. The test results showed that the best model was obtained at k = 5 with an accuracy of 75%. These findings indicate that KNN can identify similarities in demographic characteristics across provinces quite well, although there are still classification errors in classes with closely related characteristics. Therefore, the KNN method can serve as a simple and effective approach for population data analysis and has the potential to support data-driven decision-making.

Copyrights © 2026






Journal Info

Abbrev

mathunesa

Publisher

Subject

Mathematics

Description

MATHunesa is a mathematical scientific journal published by the Department of Mathematics, Faculty of Mathematics and Natural Sciences, The State University of Surabaya with e-ISSN 2716-506X and p-ISSN 2301-9115. This journal is published every four months in April, August, and December. One volume ...