Answers are grounded in this paper and cite their sources.
Differences in annual fruit production across regencies and cities in North Sumatra require systematic analysis to identify areas with similar production characteristics. This study aims to group regencies and cities in North Sumatra Province based on avocado and starfruit production using the K-Means klastering method. The study applies a quantitative approach using secondary data published by Statistics Indonesia (BPS) of North Sumatra Province for 2022–2025. The dataset consists of 132 observations representing 33 regencies/cities over four years, with two variables: avocado production and starfruit production. The K-Means process includes determining three klasters, initializing centroids, calculating Euclidean distances, assigning observations to the nearest centroid, and updating centroids until convergence. The final klastering converged at the sixth iteration. The results produced three klasters: high production (12 observations), medium production (20 observations), and low production (100 observations). The largest group was the low-production klaster, indicating that most observations had comparatively lower production characteristics for the two commodities. A web-based application developed using PHP and MySQL supports data management, klastering, result presentation, and report generation. The results can provide preliminary information for understanding the distribution of avocado and starfruit production across regions in North Sumatra.
No takes yet. Share an insight, caveat, or question.
Sastri et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: