Food Commodity Segmentation Using K-Medoids to Support Commodity Monitoring for Regional Inflation Control in East Lampung Regency
Daily food commodity prices are available through the Market and Basic Needs Monitoring System (SP2KP). However, these data do not directly provide commodity groupings based on price variability and trends. Further analysis is therefore needed to identify similarities in price characteristics and produce structured information to support commodity monitoring. This study aims to segment food commodities in East Lampung Regency using the K-Medoids method. The dataset covers 47 commodities from February 2025 to June 2026. The research stages include cleaning the data by treating zero prices as unavailable observations, selecting commodities with at least 80% observation coverage, extracting the Coefficient of Variation (CV) and relative trend features, Z-score standardization, K-Medoids clustering, evaluation using the Silhouette Score and Davies-Bouldin Index, and developing cluster profiles and monitoring recommendations. A total of 38 commodities met the completeness criterion. Three clusters were selected: Cluster 1 (29 commodities; median CV 2.83%) showed low price variation and a nearly flat trend; Cluster 2 (five commodities; median CV 23.90%) showed high variation and a nearly flat trend; and Cluster 3 (four commodities; median CV 10.54%) showed moderate variation with a stronger historical upward trend. The cluster medoids are Ikan Teri, Cabai Merah Keriting, and Daging Ayam Ras, respectively. The segmentation supports routine monitoring, more intensive monitoring of price changes, and periodic monitoring focused on upward trends. Thus, this study provides additional information for differentiating monitoring approaches based on historical price characteristics rather than estimating commodities’ direct contributions to inflation.
Authors
- Wasilah
- FAJAR RAHMAT AGUSTIAN
Institutions
- Informatics and Business Institute Darmajaya (ID)
Publication Details
- Journal
- BULLETIN OF NETWORK ENGINEER AND INFORMATICS
- Published
- 2026-11-30
- DOI
- https://doi.org/10.59688/vp1xah29
- Primary Topic
- Data Mining and Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00