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