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

Authors

  • Agung Universitas Negeri Medan
  • Emon Universitas Negeri Medan
  • Ilham Universitas Negeri Medan
  • Hizkia Universitas Negeri Medan

DOI:

https://doi.org/10.26740/mathunesa.v14n02.p271-278

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.

Downloads

Download data is not yet available.

Downloads

Published

2026-08-31

Issue

Section

Articles
Abstract views: 0 , PDF Downloads: 0