Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Vol. 6 No. 1 (2026): October 2026

Application of the K-Means Algorithm for Clustering Community Economic Conditions (Case Study: Harapan Maju Village Office, Langkat)

Nur Hafizah (STMIK KAPUTAMA)



Article Info

Publish Date
15 Oct 2026

Abstract

The Harapan Maju Village exhibits diverse community economic conditions; however, the economic data available at the village office has not been optimally utilized to generate information that supports decision-making specifically regarding the formulation of development policies and the distribution of social assistance programs. This study aims to categorize the community's economic conditions based on variables such as occupation, income, and number of dependents, employing a data mining approach with the K-Means Clustering algorithm. The optimal number of clusters was determined using the Elbow method via an analysis of the Within-Cluster Sum of Squares (WCSS) values, which indicated an optimal result at K = 4. Data from 545 Harapan Maju Village residents were analyzed through the Knowledge Discovery in Databases (KDD) process comprising data selection, pre-processing, transformation, data mining, and evaluation using MATLAB software. The results indicate that Cluster 1 is the largest group, containing 208 data points; the community members in this cluster are predominantly farmers, earn between IDR 2,000,001 and IDR 3,000,000, and have four dependents. The study demonstrates that the K-Means algorithm, combined with the Elbow method, is capable of systematically classifying community economic conditions based on specific characteristics. These findings offer recommendations to the Harapan Maju Village Government to support development policy formulation and improve targeting accuracy in program implementation and social assistance distribution

Copyrights © 2026






Journal Info

Abbrev

JAIEA

Publisher

Subject

Automotive Engineering Computer Science & IT Control & Systems Engineering

Description

The Journal of Artificial Intelligence and Engineering Applications (JAIEA) is a peer-reviewed journal. The JAIEA welcomes papers on broad aspects of Artificial Intelligence and Engineering which is an always hot topic to study, but not limited to, cognition and AI applications, engineering ...