A Proposed Data-Mining Framework for Organic Food Supply Vulnerability Monitoring: Illustrative Clustering Profiles and Simulation-Based Stock-Risk Classification
Abstract:
Organic food supply chains face increasing challenges associated with price volatility, stock instability, seasonal fluctuations, and regional distribution disparities, highlighting the need for interpretable data-driven monitoring approaches. This study proposes an integrated data mining framework combining regional clustering and decision tree classification to support food supply vulnerability assessment and early warning prioritization. The framework comprises five analytical phases: data collection, preprocessing, regional vulnerability clustering, stock-risk classification, and monitoring priority assessment. Clustering examines price variation, supply volume, and distribution distance to identify three regional vulnerability profiles: stable, moderate, and volatile. Decision tree classification incorporates stock volume, stock-to-demand ratio, simulated signed stock change rate, and seasonal factors to distinguish safe and emergency conditions. The classification model was evaluated using 100 simulated rice-stock scenarios, using Indonesian agricultural statistics only as background context. A stratified 80:20 training–testing evaluation achieved an accuracy and macro-F1 score of 1.00, while five-fold cross-validation yielded an average accuracy of 0.98 ± 0.04. Signed stock change rate emerged as the dominant classification attribute, demonstrating the model’s interpretability. However, these performance metrics primarily reflect consistency with simulation-based classification rules, while sensitivity analysis revealed limited responsiveness to supply and seasonal changes. The integration of regional vulnerability profiling and interpretable stock-risk classification provides a methodological foundation for monitoring prioritization and risk-informed decision-making, with further empirical validation required for operational applications in organic food supply chains.1. Introduction
Organic food systems have emerged as an essential component in the sustainability transformation of agriculture, connecting ecological food production, food quality, certification, market access, coordination of the supply chain, and the development of rural livelihoods. With regard to Indonesia, the organic farming system is discussed not only in terms of agricultural practice but also within wider debates of food security, food self-sufficiency, and food sovereignty (Schreer & Padmanabhan, 2020). Moreover, increased market access for smallholders producing organically grown foods was found to contribute to the relationship between the organic farming transition and food security outcomes (Ume, 2023). The results suggest that besides production, sustainability of the organic farming process depends also on the ability of the food system to ensure food availability, stable prices, market access, and continuous supply.
Supply chains in general face threats related to volatility of food prices, stock uncertainty, seasonality of demand, and disruption of distribution. Moreover, food supply chains are particularly sensitive to climate change-related disturbances that can affect agricultural production, logistics, prices, food access, food quality, and food safety (Tchonkouang et al., 2024). Economic shocks, like changes in energy prices, also affect food prices and may increase agricultural price volatility, putting food security at risk (Taghizadeh-Hesary et al., 2019). Such threats are particularly relevant for organic food systems, where supply chains feature smaller number of suppliers, certification, special markets, and higher reliance on distribution coordination. Rattanawong et al. (2024) reported that sustainable organic agriculture supply chains are still facing the problem of fragmentation of planning, unreliable demand forecasting, budget limitations, and inefficient cold chain management.
Organic supply-chain research has documented farm-level sustainability, traceability, and market coordination, including organic-rice traceability (Taufiq et al., 2025) and cooperative readiness (Ho, 2025a). However, these studies examine different operational tasks from the present paper. General food-security forecasting combines heterogeneous evidence (Deléglise et al., 2022; Machefer et al., 2025), while risk-based monitoring uses interpretable decision trees (Van Asselt et al., 2018). An additional related example combines clustering and decision trees for rural resource allocation rather than organic food inventory (Hosseini et al., 2025). The research gap is therefore not the absence of clustering or trees in agriculture: it is the lack of validated, organic-specific evidence linking regional vulnerability segmentation to independently observed stock-shortage outcomes. The present study evaluates a methodological sequence but does not establish that such an integrated system has already been validated for organic supply chains.
Data mining and machine learning have great potential for agricultural and food system monitoring due to their ability to convert heterogeneous and dynamic big data into decision knowledge. As it is noted by Ait Issad et al. (2019), the importance of data mining for smart agriculture is growing due to increasing amount and complexity of agricultural data and their time sensitivity. Digital agriculture research also suggests that such Agriculture 4.0 technologies as machine learning, big data analytics, and smart monitoring could help to improve decision-making in agriculture (Abbasi et al., 2019; Javaid et al., 2022). Machine learning can be applied to food security to predict food security condition from heterogeneous data and develop early warning systems for acute food insecurity (Deléglise et al., 2022; Machefer et al., 2025). However, a lot of machine learning models remain non-transparent which reduces their applicability in practice due to the need in transparent decision rules.
Food-system disruptions create two analytically distinct questions. Regional differences in prices, availability, and distribution access describe structural exposure (Rattanawong et al., 2024; Taghizadeh-Hesary et al., 2019; Tchonkouang et al., 2024), whereas stock change relative to demand describes short-horizon inventory pressure (Deléglise et al., 2022; Machefer et al., 2025; Van Asselt et al., 2018). Clustering can summarize the former and decision trees can turn labeled stock-risk observations into interpretable rules; their outputs cannot be combined empirically without shared region–commodity–time identifiers. The available material contains a summary visualization for clustering and a separate synthetic classification table, so their integration is presented as a design proposition, not a verified combined prediction.
The core problem is the absence of an auditable demonstration of how regional food indicators can be transformed into interpretable monitoring priorities without confusing simulated rules with measured food insecurity. Accordingly, this study addresses three research questions (RQs): RQ1, what can be inferred from the previously reported clustering output, and which clustering properties remain unverified without raw records? RQ2, to what extent can a decision tree reproduce stock-risk labels in the available simulated data under transparent validation? RQ3, how sensitive are the learned labels to adverse supply scenarios, and what additional evidence is necessary before transferring this framework to certified-organic rice? The study does not develop an information system.
The scientific contribution is methodological and bounded: it (i) distinguishes regional structural exposure from simulated short-term stock-risk rules; (ii) reports a fully reproducible evaluation of the available 100-row classification table, including leakage and sensitivity diagnostics; and (iii) proposes a transparent decision matrix requiring independent empirical calibration. It does not claim to have validated organic-food early warning or national provincial risk rankings.
2. Literature Reviews
This paper summarizes the literature on organic food systems, organic food supply chain systems, data mining in agriculture and food surveillance, regional classification using clustering approach, and risk classification through decision trees. Section 2.1 deals with the concept of organic food system and food security, while Section 2.2 is about resilience and traceability in organic food supply chain systems. Section 2.3 presents the application of data mining and machine learning techniques in agriculture and food systems. Section 2.4 presents the use of clustering technique in monitoring regional vulnerabilities, while Section 2.5 highlights the usage of decision tree technique for food risk monitoring. As such, Section 2.6 outlines the research gap and contribution of this study in providing an interpretable data-mining framework for organic food monitoring.
The organic food systems have already become an inherent part of agricultural transformation and include production ecology, food quality, certification, market access, rural livelihood and food security. In Indonesia, organic farming is analyzed not only as a type of farming but also as a component of food security, self-sufficiency, and food sovereignty issues (Schreer & Padmanabhan, 2020). Thus, it becomes possible to state that organic farming should not be perceived just as a production process but rather as an additional means of maintaining stability in the food system.
As per previous literature, organic farming promotes food security in case farmers receive better market access and greater institutional support. Ume (2023) concludes that improved market access increases the contribution of small-scale organic farming transitions to food security. At the same time, Rozaki et al. (2026) study organic rice farmers in Central Java and Yogyakarta, concluding that household food security of organic farmers remains one of the most urgent policy issues. This conclusion proves that development of organic farming must be supplemented with monitoring instruments that are capable of tracking not only production results but also food availability, accessibility, and vulnerability.
At the same time, organic agriculture market plays an important role in sustainable development goals in Indonesia. According to Nendissa et al. (2026), who review the role of the organic agriculture market in Indonesia, organic farming promotes environmental sustainability, rural income diversification, and inclusive market development. However, such aspects as certification concentration, lack of institutional coordination, and poor market infrastructure still prove to be significant barriers. Thus, it becomes necessary to develop a monitoring strategy that includes vulnerable areas' identification, supply chain monitoring, and policy recommendations.
In turn, organic food systems have been studied mainly from such angles as production efficiency, sustainability status, and welfare of organic farmers. For example, Wahyuni et al. (2026) link traditional Adan rice farming with land characteristics and local food security in North Kalimantan. Despite their value for studying farm-level sustainability, these studies have not yet produced a data-mining-based monitoring strategy for vulnerable organic foods.
Organic food systems are also strongly connected with supply chain reliability, as organic foods are usually associated with standards of certification, traceability, supplier coordination, and consumer trust. Rattanawong et al. (2024) report several challenges that the sustainable organic agriculture supply chains face: fragmented planning, lack of collaboration, poor demand forecasting, and ineffective logistics management that negatively influence the ability of organic supply chains to respond to the changes in demand.
Recent literature also highlights the significance of the digital traceability in the organic food supply chains. Taufiq et al. (2025) suggest a blockchain-based traceability model for Indonesian organic rice supply chains, proving that traceability allows improving supply chain visibility, overcoming information asymmetry, enhancing regulatory control, and ensuring compliance with certification requirements. Duong et al. (2024) report that blockchain-based food traceability allows increasing consumer trust and purchase intention for organic products. Soe et al. (2025) develop a blockchain-based carbon footprint traceability model for Thai organic sector, highlighting the importance of digital transparency for organic supply chain credibility.
However, most of the research on traceability of organic foods concentrates on the issues of product authenticity, consumer trust, and certification transparency. Very few of the studies take into account operational monitoring aspects such as price changes, stock decrease, supply volume, and distribution distance, thus leaving a research gap, since traceability of the organic food supply chain does not mean automatic identification of vulnerable regions or stock conditions requiring immediate attention. A related study directly examined supply-chain risk in an Indonesian organic-rice chain and included lack of stock, supply delay, and demand variation among its risk categories (Rohmah et al., 2015). This context is more closely aligned with inventory vulnerability than generic digital traceability. A study of Indonesian organic-vegetable farms also prioritized supply-chain risks using the house-of-risk method (Kusrini et al., 2023). In contrast, K-means-based risk assessment has been applied in a rice-processing chain to characterize heterogeneous safety risks using a different downstream model (Qi et al., 2024). Together with the rural clustering and decision-tree example (Hosseini et al., 2025), these studies establish prior uses of risk prioritization and combined algorithms while leaving a distinct empirical gap for organic-certified, region-matched stock outcomes.
Research on organic entrepreneurship and cooperatives confirms that organic supply chains need effective and flexible decision support system. Ho (2025a) develops a maturity model for evaluating sustainable supply chains of organic agricultural cooperatives in rural Vietnam, while Ho (2025b) demonstrates that organic agri-startups pragmatically use hi-tech innovations to ensure their operations’ stability under environmental uncertainties. This means that decision support system needed by the organic food systems' actors should be practical, understandable, and usable.
Data mining and machine learning became key tools in transformation of the agricultural and food system data into decision-support knowledge. As per Ait Issad et al. (2019), data mining methods such as classification, prediction, and clustering support agricultural decision-making. Abbasi et al. (2022) and Javaid et al. (2022) stress that Agriculture 4.0 technologies, including big data analytics, machine learning, cloud computing, and IoT, increase agricultural productivity and sustainability.
Machine learning also provides agricultural supply chain with real-time analytics, proactive decision-making, and supply chain sustainability. Sharma et al. (2020) analyze 93 papers about machine learning in agricultural supply chains, revealing that machine learning supports decision-making throughout the stages of the supply chain. Kalimuthu et al. (2024) claim that emerging countries still face problems of poor supply chain visibility, lack of infrastructure after harvesting, absence of information about pricing, and poor intelligent decision support system. All of these issues are relevant for organic food systems, especially when production and markets are fragmented.
Artificial intelligence is also discussed as a tool for food security and agri-food supply chain transformation. Pandey & Mishra (2024) believe that AI supports predictive modeling, precision farming, crop monitoring, storage management, transportation system, and smart inventory management. Reitano et al. (2025) summarize AI's impact on the agri-food supply chain and report improvements in agricultural productivity, intermediary supply chain management, consumer acceptance, and personalized food innovations. These studies confirm the significance of data-driven monitoring in current food systems.
However, within the organic food context, Contuzzi et al. (2025) introduce an integrated IoT, deep learning, and business intelligence framework for organic production. This work proves that real-time data and predictive analytics promote production planning, raw material procurement, logistics, productivity, and waste reduction. However, the framework is mostly focused on production and processing, and uses interpretable data mining tools to monitor regional organic foods to a limited extent.
Clustering, a powerful unsupervised learning technique, is especially suitable for monitoring regional food vulnerability, as it groups regions with similar characteristics regardless of the preassigned labels. In the case of monitoring of the organic food system, clustering will allow classifying regions according to their price levels and changes, supply volume, stock availability, and distribution distance. Such classification is needed, as different regions might show different patterns of vulnerability in one national food system.
Some of the previous researches prove that clustering can support decision-making in agricultural and regional development contexts. Reitano et al. (2025) use cluster analysis to classify AI applications in the agri-food supply chain into the main research themes. Hosseini et al. (2025) apply K-means clustering along with decision-tree analysis to optimize rural infrastructure resource allocation in Iran. Although the topic of the latter study is not the food monitoring but the rural infrastructure optimization, it still proves that clustering is able to reveal regional patterns and prioritize decisions.
Furthermore, clustering is also useful in food system research, as vulnerability often has a spatial heterogeneity. According to Tchonkouang et al. (2024), food supply chains are very vulnerable to climate-related disruptions, as they affect production, logistics, prices, access, quality, and safety. Thus, clustering allows classifying regions into three groups (stable, moderate, and volatile) based on the features of food supply. Such approach is especially relevant for organic systems, where supply networks can be geographically limited and distribution-sensitive.
Nonetheless, clustering by itself is not sufficient for the early warning system. It is able to reveal regional typology but unable to classify if the region is in a safe, warning, or emergency stock situation. Thus, clustering can be used to group regions according to food supply characteristics, potentially producing profiles such as stable, moderate, and volatile. In the present study, these categories are treated as illustrative reference profiles rather than empirically validated regional classifications. As a methodological distinction, the three labels stable, moderate, and volatile are interpretations assigned after clustering, not ground-truth categories that establish real scarcity. The organic-rice supply-chain risk work (Rohmah et al. , 2015) is focused on operational failures, whereas the regional clustering illustration here represents price–supply–distance similarity. This difference motivates a conditional, rather than a proven, integration with supervised stock-risk labeling.
Decision tree classification is advantageous for food monitoring, as it provides high interpretability and transparency. Unlike black-box methods, decision trees reveal the reasoning behind the given classification, which is especially useful for the decision-makers and actors of the organic-supply chain.
Decision-tree-based approaches were previously used in risk monitoring of the food system. Van Asselt et al. (2018) employ decision trees for risk-based monitoring of the chemical substances in food and prove that this approach enables transparent prioritization. Talari et al. (2024) use machine learning for classification of the food safety alerts related to dairy and conclude that decision tree and support vector machine methods perform very well. Finally, Zhao et al. (2025) summarize supervised and unsupervised learning methods used for food safety risk assessment, stressing the importance of classification, anomaly detection, and data integration from multiple sources.
Machine learning also allows monitoring food security, prediction, and early warning. Deléglise et al. (2022) propose the food security prediction framework that combines machine learning and deep learning with heterogeneous data. Villacis et al. (2023) use machine learning for food insecurity prediction in Nigeria and prove that such approach can be useful for classification and targeting. Machefer et al. (2025) review potential and limitations of machine learning models for forecasting of acute food insecurity, claiming that machine learning can be effectively used for food security early warning when data availability and interpretability are properly handled.
Still, previous research mostly focuses on general food security, food safety, or supply chain traceability. There is little attention paid to the application of decision-tree classification in the monitoring of the organic food stock. Within the organic food system, decision tree classification can classify stock situation into safe, warning, or emergency depending on signed stock change rate, stock-to-demand ratio, stock volume, and season.
Table 1 shows three main research streams. The first stream concerns organic food systems, food security, and farmer welfare (Rozaki et al., 2026; Schreer & Padmanabhan, 2020; Ume, 2023; Wahyuni et al., 2026) These studies show the importance of organic farming for food security and rural sustainability but do not propose any data-mining-based framework for the monitoring of regional organic food vulnerability.
Author | Organic Food System | Food Security/ Resilience | Supply Chain/ Traceability | Data Mining/ Machine Learning | Clustering | Decision Tree/ Classification | Early Warning/ Priority | Research Context |
Abbasi et al. (2022) | ✓ | Agriculture 4.0 and digital agriculture | ||||||
Ait Issad et al. (2019) | ✓ | ✓ | ✓ | Data mining in smart agriculture | ||||
Brata et al. (2025) | ✓ | ✓ | ✓ | Sustainability assessment of rice farming | ||||
Contuzzi et al. (2025) | ✓ | ✓ | ✓ | ✓ | IoT, deep learning, and BI in organic food production | |||
Deléglise et al. (2022) | ✓ | ✓ | ✓ | ✓ | Food security prediction using heterogeneous data | |||
Ho (2025a) | ✓ | ✓ | Sustainable organic cooperative supply chain | |||||
Ho (2025b) | ✓ | ✓ | ✓ | Hi-tech innovation in organic agri-startups | ||||
Hosseini et al. (2025) | ✓ | ✓ | ✓ | ✓ | Clustering and decision tree for rural resource allocation | |||
Javaid et al. (2022) | ✓ | Agriculture 4.0 technologies | ||||||
Kalimuthu et al. (2024) | ✓ | ✓ | ✓ | Intelligent decision-making in agricultural supply chains | ||||
Kusrini et al. (2023) | ✓ | ✓ | ✓ | Supply-chain risk identification and mitigation for Indonesian organic vegetable farms | ||||
Machefer et al. (2025) | ✓ | ✓ | ✓ | ✓ | Forecasting acute food insecurity | |||
Nendissa et al. (2026) | ✓ | ✓ | ✓ | Organic agriculture market and SDGs in Indonesia | ||||
Pandey & Mishra (2024) | ✓ | ✓ | ✓ | ✓ | AI for global food security | |||
Rattanawong et al. (2024) | ✓ | ✓ | Sustainable organic agriculture supply chain | |||||
Reitano et al. (2025) | ✓ | ✓ | ✓ | AI in agri-food supply chains | ||||
Rozaki et al. (2026) | ✓ | ✓ | Food security of organic rice farmers | |||||
Schreer & Padmanabhan (2020) | ✓ | ✓ | Organic farming and food sovereignty in Indonesia | |||||
Sharma et al. (2020) | ✓ | ✓ | ✓ | ✓ | ✓ | Machine learning in agricultural supply chains | ||
Taghizadeh-Hesary et al. (2019) | ✓ | Food price volatility and food security | ||||||
Talari et al. (2024) | ✓ | ✓ | ✓ | Food safety alert classification | ||||
Taufiq et al. (2025) | ✓ | ✓ | Blockchain traceability in organic rice supply chain | |||||
Tchonkouang et al. (2024) | ✓ | ✓ | ✓ | Food supply chain vulnerability | ||||
Ume (2023) | ✓ | ✓ | ✓ | Organic farming transition and market access | ||||
van Asselt et al. (2018) | ✓ | ✓ | ✓ | Risk-based food monitoring | ||||
Villacis et al. (2023) | ✓ | ✓ | ✓ | ✓ | Machine learning for food insecurity prediction | |||
Wahyuni et al. (2026) | ✓ | ✓ | Traditional organic rice and local food security | |||||
Zhao et al. (2025) | ✓ | ✓ | ✓ | ✓ | Machine learning for food safety risk assessment | |||
This study | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Proposed framework; synthetic stock-risk test (not validated organic field monitoring) |
The second stream is devoted to the resilience of the organic supply chain, traceability, and digital transparency (Duong et al., 2024; Ho, 2025a, 2025b; Rattanawong et al., 2024; Soe et al., 2025; Taufiq et al., 2025). These studies prove that traceability, certification, blockchain, and digital platforms increase the trust and visibility of organic food supply chains. However, few of the studies analyze regional price volatility, stock risks, and vulnerability caused by distribution through machine learning tools.
The third stream concerns machine learning for agriculture and food decision support (Abbasi et al., 2022; Ait Issad et al., 2019; Contuzzi et al., 2025; Deléglise et al., 2022; Hosseini et al., 2025; Javaid et al., 2022; Kalimuthu et al., 2024; Machefer et al., 2025; Pandey & Mishra, 2024; Reitano et al., 2025; Sharma et al., 2020; Talari et al., 2024; Van Asselt et al., 2018; Villacis et al., 2023; Zhao et al., 2025). A study on organic-rice supply-chain failure risk (Rohmah et al., 2015) and a K-means-based rice-processing risk model (Qi et al., 2025) provide closer examples that must be acknowledged. The present work differentiates itself by explicitly investigating rule transparency and synthetic-label circularity, not by claiming to be the first study combining unsupervised and supervised methods.
Table 1 positions the conceptual contribution against prior organic traceability, supply-chain risk, food-security modeling, and related clustering/classification research. The proposed architecture is a falsifiable workflow, not a tested end-to-end organic monitoring system: a credible future implementation must use a shared organic-certified region–commodity–time dataset, independently observed disruption labels, and an external evaluation period.
First, this study moves the organic food research from production-oriented or traceability-oriented perspectives to the data-driven monitoring framework. While previous researches highlight farming efficiency, food security, certification, and traceability, this study focuses on the transformation of the price, stock, supply, distribution, and seasonal data into monitoring knowledge.
Second, this study combines unsupervised and supervised data mining methods into one framework. While clustering allows identifying stable, moderate, and volatile regional patterns, decision tree classification extracts interpretable Safe/Emergency rules from the available simulation-based records, while Warning remains a proposed category for future multi-class modeling. Such combination allows getting both strategic regional segmentation and operational early warning.
Third, interpretability becomes the focal point of the study. Instead of using a black-box classifier, the decision-tree framework generates rule-based explanations that are easy to comprehend by the policy makers, organic farmers' associations, cooperatives, and other supply chain actors and makes the use of organic food data more practical.
Fourth, unlike information system design studies, the focus of this study is not on the interface design and usability. Instead, the focus is on transformation of the organic food monitoring data into decision-support knowledge in line with the academic focus on organic farming and sustainable food systems.
3. Methodology
This study is a five-phase data-mining proof of concept situated in a supply-chain vulnerability perspective: exposure (market price change, supply and spatial access) is distinguished from inventory stress (stock level, change and seasonal context). This is an analytical organization motivated by agricultural supply-chain disruption (Tchonkouang et al., 2024), organic supply-chain constraints (Rattanawong et al., 2024), stock risk in organic rice (Rohmah et al., 2015), and interpretable food-risk prioritization (Van Asselt et al., 2018). It is not a fully parameterized supply-chain theory or an information-system implementation. Figure 1 presents the conceptual sequence; its two analysis branches have not been linked at the record level.

The proposed framework begins with the collection of region–commodity–time data describing prices, stocks, supply volumes, distribution characteristics, and seasonal conditions. After verification and preprocessing, the intended clustering branch characterizes structural supply vulnerability, while the classification branch uses transparent stock-risk decision rules. The proposed priority matrix then combines these analytical perspectives at the decision-design level. Empirical linkage of both branches requires matched, independently documented organic food observations.
The empirical analysis encompasses two complementary analytical components with distinct data structures and levels of granularity. The regional clustering component draws on previously reported aggregate results referring to 3,600 observations across 60 analytical units, represented through cluster visualizations and characteristic profiles. However, the underlying observation-level data and unit identifiers were unavailable for independent verification. Accordingly, these figures are treated as previously reported information rather than a confirmed empirical sample size. These materials provide an exploratory basis for identifying regional patterns of food supply vulnerability, although interpretation remains limited by the availability of detailed observation-level metadata, including commodity specifications, temporal resolution, and regional classifications. Meanwhile, the classification analysis employed a structured dataset comprising 100 simulated observations representing seven Indonesian regions: Jakarta, West Java, Central Java, East Java, Banten, Special Region of Yogyakarta, and South Sulawesi, covering the period 2023–2025. The dataset incorporates stock volume, stock-to-demand ratio, simulated signed stock change rate, seasonal factors, and stock-risk categories to facilitate systematic evaluation of the decision tree model. The two analytical components therefore serve complementary methodological purposes, with clustering supporting exploratory regional vulnerability profiling and classification enabling reproducible evaluation of stock-risk decision rules. Accordingly, the findings are interpreted within the respective analytical scope of each dataset rather than as nationally representative estimates of certified organic food supply conditions.
The secondary background sources used to inform the subject matter are public general-agriculture publications: recent agricultural-economic statistics for May 2023, February and March 2024, and June 2025; Food Consumption Statistics 2024; and the rice outlook (Center for Agricultural Data and Information System, Ministry of Agriculture of Indonesia, 2023, 2024a, 2024b, 2024c, 2025; Secretariat General, Ministry of Agriculture of Indonesia, 2025). These references provide aggregate market, food-consumption, and seasonality context but do not contain the complete province–month stock-risk records used in the classification analysis. No certified-organic commodity data, producer registry, or independent field observations were supplied. Accordingly, all conclusions concern a transferable design for organic-rice monitoring rather than measured organic stock vulnerability.
To ensure data relevance and methodological consistency, the proposed framework establishes specific eligibility criteria for organic food monitoring, encompassing verified organic certification or production status, valid region–commodity–period identifiers, and independently documented price, stock, and supply information. These criteria provide a standardized basis for evaluating data suitability and supporting the reproducibility of subsequent analyses. The classification dataset comprises 100 simulated observations constructed to represent agricultural stock dynamics and evaluate the proposed decision tree classification approach. Accordingly, the classification results are interpreted as methodological evidence rather than direct estimates of certified organic food supply conditions. Meanwhile, the regional clustering results provide an exploratory representation of food supply vulnerability patterns based on available aggregate profiles and visualizations. Given the differences in data structure and supporting metadata, the clustering and classification components are evaluated independently, with geographical interpretations restricted to the analytical scope supported by the available evidence.
Data quality assessment was conducted to examine the consistency, completeness, and reliability of the classification dataset before model development. The assessment included duplicate detection, missing-value inspection, numerical validity, measurement-unit consistency, variable distributions, and temporal coverage. The results confirmed that all 100 observations contained the required classification attributes, with no exact duplicate records identified. To strengthen the methodological reproducibility of the proposed framework, an additional preprocessing protocol was specified for future empirical applications. Potential outliers can be identified using predefined physical constraints and a robust statistical criterion based on the median and median absolute deviation (MAD), with observations exceeding three scaled MAD units flagged for further examination. This approach distinguishes potential recording errors from genuine extreme supply fluctuations, thereby preserving relevant food security signals. For longitudinal datasets, missing numerical observations may be estimated through within-series interpolation, provided that regional and commodity consistency is maintained and information leakage between training and testing periods is prevented. Missing categorical attributes are assigned an unknown category when appropriate. Since the classification dataset was complete, no imputation or outlier removal was required. The resulting preprocessing procedures provide a transparent and reproducible foundation for applying the proposed framework to future empirical organic food monitoring datasets.
The analytical features used for conceptual regional grouping are price level, period-on-period price change, supply volume and distance to a defined distribution hub. These variables respectively approximate market pressure, short-run volatility, local supply scale and logistics exposure; they are not a complete representation of organic-system vulnerability. For future region–commodity–month observations, the proposed reporting conventions are average price in Indonesian rupiah per kilogram (IDR kg⁻¹), previous-month signed price change (%), supply received over the month (tons month⁻¹), and road-network distance from supply origin to a defined distribution hub (km). The corresponding units, time basis, and distance metric of the inherited clustering illustration cannot be verified without its original records. The simulated classification table instead contains stock volume at a scenario reference time (tons), stock-to-demand ratio (unitless index), simulated signed stock change rate (% day⁻¹), and season category (Table 2). No raw price, supply or distance observations accompany the clustering plot, and no certified-organic indicator appears in the classification rows. Stock volume is inventory at a reference time, whereas supply volume is the quantity delivered over a defined period. The classification cases concern illustrative rice-related scenarios for seven Indonesian regional labels, not observed daily or certified-organic inventories; the clustering and classification inputs are not a matched dataset.
Variable Group | Variable | Description | Use |
Price | Average price | Proposed organic rice price in Indonesian rupiah per kilogram (IDR kg⁻¹); units in inherited clustering illustration unverified | Clustering |
Price dynamics | Price change | Signed change from preceding month (%); original comparison period unverified | Clustering |
Supply | Supply volume | Quantity supplied within month (tons month⁻¹); not inventory at a reference time | Clustering |
Distribution | Distribution distance | Proposed origin-to-hub road-network distance (km); historical metric unverified | Clustering |
Stock dynamics | Signed stock change rate | Simulated signed change (% day⁻¹); not computed from consecutive daily records | Classification |
Stock availability | Stock-to-demand ratio | Stock volume (tons) / matching-period demand (tons); denominator period unverified | Classification |
Stock volume | Stock volume | Simulated rice-related inventory at scenario reference time (tons); seven regional labels | Classification |
Seasonality | Seasonal factor | Normal, harvest season, lean season, or festive period | Classification |
For future observed clustering data, the preprocessing procedure is: verify source and units, deduplicate exact region–commodity–date keys, flag implausible values by domain rules and robust MAD screening, fit numeric scaling on the training/reference subset only, and document unresolved missingness by field. In the present reproducible classification audit, numeric predictors were used in their original units; season was one-hot encoded. No imputation was needed, and the 80:20 split and all model fitting were applied exclusively to the 100 available simulated records.
The period-on-period price change used in the proposed regional vulnerability assessment is defined in Eq. (1).
where, $P C_{i, t}$ is the signed price change (%) for commodity-region $i$ between periods $(t-1)$ and $t$, and $P_{i, t}$ and $P_{i, t-1}$ are prices in the same currency and unit. This calculation requires comparable observed periods; no full price series was provided with the clustering figure.
The signed stock change rate used in the simulated classification dataset is defined by Eq. (2). A decreasing stock level produces a negative value; a more negative value denotes faster depletion..
where, $S D_{i, t}$ is simulated signed stock change rate (%/day); $S_{i, t}$ and $S_{i, t-1}$ are stock volumes (tons) for the same region and commodity at consecutive days. Because adjacent daily stock observations are not available, Eq. (2) cannot be independently reconstructed; the rate values are simulated inputs rather than verified day-on-day calculations. The month-year entries are scenario labels, not consecutive daily observations from which this input was calculated.|
The stock-to-demand ratio used as a classification attribute is defined in Eq. (3); its empirical denominator requires independent documentation.
where, $S$ is inventory (tons), and $D$ is the demand denominator (tons) over a specified reference horizon; numerator and denominator must refer to the same region and commodity. The numerator is stock volume at the scenario reference time (tons), while the original demand horizon and denominator provenance are unavailable. The reported index ranges from 14.49 to 24.78; the underlying demand values and exposure periods are not separately documented. In the provided table, $S R$ is nearly identical to $S / 2,500$ (maximum absolute difference 0.0048 ), suggesting construction from an approximately fixed denominator rather than independent observed demand. Hence $S R$ and $S$ are almost perfectly redundant (r = 0.999999), and the index should not be described as a validated consumption-adequacy threshold.
For a reproducible K-means implementation, clustering variables measured on different scales should be transformed using min-max normalization, as defined in Eq. (4). The original clustering preprocessing cannot be independently verified from the available aggregate outputs.
where, $X$ is an observed numeric value, $X_{\min }$ and $X_{\max }$ are the minimum and maximum values estimated on the fitting dataset, and $X^{\prime}$ is the transformed unit-free value. The method is intended for Euclidean clustering, but cannot be confirmed for the unavailable original clustering rows. The fitted classifier was evaluated without feature scaling because tree splits are monotonic-invariant.
Regional vulnerability clustering is specified as an exploratory procedure for grouping analytical units with comparable price, supply, and logistics characteristics. The previously reported three-profile solution provides an illustrative basis for interpretation, whereas independent cluster reconstruction requires the underlying observation-level dataset.
Price level and signed price change proxy consumer-side exposure to market conditions (Taghizadeh-Hesary et al., 2019); supply volume represents supply scale and possible buffer availability (Rattanawong et al., 2024; Tchonkouang et al., 2024); and distance to a declared distribution center proxies logistics isolation. Stock volume and its signed daily change capture the level and velocity of depletion, while a stock-to-demand ratio may indicate adequacy if the numerator and denominator are independently measured over matching time units (Rohmah et al., 2015; Van Asselt et al., 2018). Seasonality is a contextual exposure variable and is not an observed meteorological shock. These choices describe a screening model and omit harvest failures, temperature, floods, transport interruptions, certification disruptions and demand heterogeneity.
K-means clustering is adopted as the proposed regional segmentation approach. The algorithm minimizes the within-cluster sum of squared Euclidean distances between observations and their respective centroids, as expressed in Eq. (5).
where, $J$ is the within-cluster sum of squares, $K$ is the number of clusters, $x_i$ is the observation assigned to cluster $C_k$, and $\mu_k$ is the centroid of cluster $k$.
The silhouette coefficient is specified as an internal criterion for comparing candidate numbers of clusters. It evaluates the degree to which each observation is better matched to its assigned group than to an alternative cluster, as expressed in Eq. (6). The previously reported three-cluster configuration is treated as provisional because the observation-level feature matrix and comparative validation results were not available for independent verification.
where, $a(i)$ is the mean distance from observation $i$ to its assigned cluster, $b(i)$ is the smallest mean distance to another cluster, and $s(i)$ is the silhouette coefficient (unit-free, -1 to 1). Choosing the largest value is a relative model-selection rule; a maximum below 0.5 does not demonstrate well-separated or stable clusters. In a reproducible analysis, candidate K values, random starts and seeds, inertia (Elbow), and Davies-Bouldin indices must also be reported. Because the original 3,600 feature vectors were not provided, these indices cannot be recomputed here, and the K = 3 designation is provisional.
For illustrative purposes, three hypothetical regional vulnerability reference profiles are considered:
Stable profile: Relatively low price variation, higher supply availability, and shorter distribution distances.
Moderate profile: Intermediate price variation, supply availability, and distribution distance.
Volatile profile: Relatively high price variation, lower supply availability, and longer distribution distances.
Principal component analysis (PCA) provides a two-dimensional representation of multivariable cluster structure. The previously reported PCA plot is retained as an exploratory illustration; its coordinates, loadings, and input records cannot be independently reproduced from the available material. The general component representation is given in Eq. (7).
where, $P C_j$ represents the $j$-th principal component, $a_{j p}$ represents the loading coefficient, and $X_p$ represents the standardized input variable.
The clustering branch provides a proposed structural segmentation only. Neither statistical adequacy, sampling representativeness nor three-cluster optimality can be established without the raw region–commodity–time records. The 100-row classification table cannot substitute for these missing four-feature clustering records.
Decision tree classification was evaluated as a transparent reconstruction of simulated labels rather than an independently validated organic-food predictor. Predictor fields were signed stock change, stock ratio, stock (tons), and a one-hot encoded season category. The supervised label contains only Safe and Emergency in the supplied 100 rows; Warning is a proposed future monitoring tier, not an observed third training class. The key risk is circularity if the reference labels were generated from the predictors to be modeled.
Table 3 distinguishes the two observed training labels from the untrained Warning option, which is reserved as a conceptual transition tier in the framework.
Class | Description |
Safe | Stock is sufficient and the decline rate is low |
Warning | Stock is still available but the risk of shortage is increasing |
Emergency | Stock is insufficient or declining rapidly |
Gini index is used to measure the impurity of nodes using the classification and regression tree (CART) approach.
Four variables have been considered as the input features for the decision tree algorithm, namely stock decline per day, stock ratio, stock volume per day, and seasonality. The above-mentioned variables cover the operational risk involved in managing organic food stocks. Recursive partitioning of the data into various classes is done based on the variable that gives the best possible separation of classes.
where, is a node, is the number of reference classes, and is the fraction of records in class at node . The quantity is dimensionless and equals zero for a pure node. The split in Eq. (9) maximizes the parent impurity minus the sample-weighted impurity of its children.
The Gini gain (ΔGini) was calculated using Eq. (9).
where, and are the left and right child nodes, and are the number of observations in each child node, and is the total number of observations in the parent node.
The decision tree classification analysis was conducted to identify the underlying decision rules associated with regional food stock conditions. Based on the 100 simulated observations, the resulting model produced a parsimonious classification structure in which the simulated signed stock change rate emerged as the primary discriminating attribute. The optimal decision threshold was approximately −4.99% day⁻¹, separating observations into two stock-risk categories. Observations with a daily stock change of −4.99% or lower were classified as Emergency, whereas observations exceeding this threshold were classified as Safe. This classification pattern was consistent with the reference labels in the dataset, indicating a strong association between stock depletion dynamics and the predefined stock-risk categories.
The resulting decision structure demonstrates the interpretability of the decision tree approach in identifying stock-risk classification patterns. Although stock ratio, stock volume, and seasonal factors were considered as candidate explanatory variables, they did not contribute additional splitting rules within the fitted model. This result indicates that simulated signed stock change rate was sufficient to distinguish the two predefined risk categories in the analyzed dataset. Nevertheless, the close correspondence between the classification threshold and the reference-label structure suggests that the observed separation primarily reflects the internal consistency of the simulated data. Therefore, the findings provide methodological evidence of interpretable rule extraction rather than independent validation of food scarcity prediction. Further evaluation using independently observed stock conditions and broader seasonal and supply characteristics is required to establish the predictive generalizability of the proposed framework.
Phase 5 is a conceptual integration of structural risk and stock-risk classification. Its proposed actions are triage recommendations—not observed policy effects—derived from supply-chain resilience and food risk prioritization concepts (Rattanawong et al., 2024; Rohmah et al., 2015; Tchonkouang et al., 2024; Van Asselt et al., 2018). Because the clustering records are not joinable to the 100 simulated classification cases, no actual district/province receives a validated combined priority. Table 4 is a proposed matrix for future organic data, not a tested policy allocation.
The priority score can also be calculated quantitatively by combining cluster risk and stock-risk class. The monitoring priority index (MPI) is expressed in Eq. (10).
where, is the proposed monitoring priority index (dimensionless) for a matched region-commodity-period is a pre-specified cluster-level score, is the stock-risk category score, and and are nonnegative weights summing to one. Neither the weights nor the MPI have been empirically calibrated or calculated here; equal weights would be an illustrative assumption, not a learned result.
The example coding stable/moderate/volatile = 1/2/3 and Safe/Warning/Emergency = 1/2/3 is ordinal by design, not inferred from calibrated disruption costs. For practical use, monitoring actions should be graded against independent loss functions, expert elicitation and observed shortages. No quantitative ranking is asserted in this revision.
Regional Cluster | Stock-Risk Class | Monitoring Priority | Recommended Action |
Stable | Safe | Routine monitoring | Continue regular monitoring |
Stable | Warning | Local preventive action | Review local stock and demand |
Stable | Emergency | Stock intervention | Investigate abnormal stock decline |
Moderate | Safe | Preventive monitoring | Monitor price and stock movement |
Moderate | Warning | Distribution review | Improve regional supply coordination |
Moderate | Emergency | High intervention | Redistribute stock and strengthen supply |
Volatile | Safe | Watchlist | Monitor supply and distribution distance |
Volatile | Warning | High priority | Prepare supply reinforcement |
Volatile | Emergency | Critical priority | Immediate intervention and emergency response |
The 100-row simulated table was analyzed reproducibly with a stratified 80:20 random split (80 train, 20 test; random_state = 42). A CART decision tree used Gini impurity, maximum depth 3, minimum leaf size 3, balanced class weights, and a fixed seed of 42. Season was one-hot encoded; the three numeric inputs were not standardized. Class precision, recall and F1 were computed against both labels; five-fold stratified cross-validation (shuffle = True; random_state = 42) reported accuracy, balanced accuracy and macro-F1. Class weighting and pre-pruning were used to reduce class imbalance and excessive tree depth, although neither can solve label leakage. An independent held-out empirical evaluation was not available. The reported random_state = 42 and fixed model seed apply only to training/test splitting, CART fitting, and cross-validation; they do not describe the unknown synthetic-data generation procedure.
A target-leakage audit compared each provided outcome against a one-dimensional signed-decline threshold, assessed redundant predictors, and counted Safe/Emergency class frequencies by season. For a scenario-based stress test, the fitted 20-case holdout was perturbed separately by a 15% and 30% reduction in stock and stock ratio, a further decline of 2 percentage points day⁻¹, and reassignment of all cases to lean season. Predictions were recomputed without retraining. The comparison measures mechanical model responsiveness under specified shocks; it does not validate occurrence probabilities in real disasters or global supply shocks.
4. Results and Discussion
Results follow the same five phases as the framework. However, the clustering illustration and classification experiment rely on different evidence bases and must not be read as one observed certified-organic regional panel. The 100-row decision-tree experiment is a transparent synthetic rule-recovery test, while clustering characteristics are descriptive illustrations from an earlier work whose original feature records were unavailable.
This distinction constrains interpretation: the former branch cannot currently produce independently validated regional clusters, and the latter cannot establish forecasting performance for real stock emergencies. The integration is proposed as an analytical workflow contingent on future linkage and field validation.
Table 5 documents the intended fields for a region–commodity–time dataset. No complete certified-organic panel was supplied. The only auditable row-level dataset is the 100-case synthetic classification table, which does not specify an organic certification status or a distinct commodity identifier. Consequently, the present evaluation concerns general rice-related food-stock scenarios and potential transfer to organic-rice chains, not measured organic stock outcomes.
The 100 simulation cases cover seven regional labels: East Java (25), Jakarta (13), West Java (13), Central Java (13), Banten (12), Special Region of Yogyakarta (12), and South Sulawesi (12). There are 40 dated rows in 2023, 40 in 2024, and 20 in 2025; calendar months repeat across scenarios, so these entries do not form an observed longitudinal provincial census. The separate statement of 3,600 clustering points from 60 unspecified units cannot be reconciled from available raw data and is not used as an empirical sample-size claim. The repeated month–year labels denote distinct simulated scenarios, not repeated observations in a daily time series. The sequential numbers in Table 6 are assigned scenario-row identifiers; the original simulation IDs, if any, were not available.
Data Component | Scope / Evidence Status | Role in Analysis |
|---|---|---|
Regional information | Illustrative region; no certified-organic provenance in the available numeric sample | Unit of regional analysis |
Commodity information | Certified organic commodity for future monitoring; current simulations are rice-related without verified organic status | Commodity-based monitoring |
Price data | Proposed price (IDR kg⁻¹) and previous-month signed price change (%); not verified in clustering illustration | Input for clustering |
Supply data | Quantity supplied over a month (tons month⁻¹); not the stock inventory | Input for clustering |
Distribution data | Proposed road-network distance to distribution hub (km); source metric unavailable | Input for clustering |
Stock data | Simulated stock volume (tons), stock-to-demand ratio (unitless index), and signed stock change rate (% day⁻¹) | Input for classification |
Seasonal data | Normal season, harvest, lean season, or festive period | Input for classification |
No. | Date | Region | Stock Volume (tons) | Stock-To-Demand Ratio | Signed Stock Change Rate (% day⁻¹) | Seasonal Factor | Status |
1 | Jan 2023 | Jakarta | 48,992 | 19.6 | −5.1 | Normal | Emergency |
2 | Feb 2023 | West Java | 50,895 | 20.36 | −3.66 | Harvest Season | Safe |
3 | Mar 2023 | Central Java | 60,294 | 24.12 | −3.86 | Harvest Season | Safe |
4 | Apr 2023 | East Java | 55,871 | 22.35 | −3.98 | Harvest Season | Safe |
5 | May 2023 | Banten | 47,030 | 18.81 | −2.68 | Normal | Safe |
6 | Jun 2023 | Special Region of Yogyakarta | 44,358 | 17.74 | −4.05 | Normal | Safe |
7 | Jul 2023 | East Java | 46,711 | 18.68 | −5.58 | Normal | Emergency |
8 | Aug 2023 | South Sulawesi | 49,420 | 19.77 | −3.61 | Normal | Safe |
9 | Sep 2023 | Jakarta | 48,801 | 19.52 | −2.23 | Normal | Safe |
10 | Oct 2023 | West Java | 38,123 | 15.25 | −6.57 | Lean Season | Emergency |
11 | Nov 2023 | Central Java | 41,192 | 16.48 | −6.95 | Lean Season | Emergency |
12 | Dec 2023 | East Java | 47,264 | 18.91 | −4.48 | Festive Period | Safe |
13 | Jan 2023 | Banten | 46,302 | 18.52 | −5.76 | Normal | Emergency |
14 | Feb 2023 | Special Region of Yogyakarta | 54,652 | 21.86 | −3.8 | Harvest Season | Safe |
15 | Mar 2023 | East Java | 61,647 | 24.66 | −4.03 | Harvest Season | Safe |
16 | Apr 2023 | South Sulawesi | 54,723 | 21.89 | −3.84 | Harvest Season | Safe |
17 | May 2023 | Jakarta | 47,268 | 18.91 | −5.77 | Normal | Emergency |
18 | Jun 2023 | West Java | 41,842 | 16.74 | −4.09 | Normal | Safe |
19 | Jul 2023 | Central Java | 52,776 | 21.11 | −2.41 | Normal | Safe |
20 | Aug 2023 | East Java | 49,718 | 19.89 | −4.17 | Normal | Safe |
21 | Sep 2023 | Banten | 45,785 | 18.31 | −5.92 | Normal | Emergency |
22 | Oct 2023 | Special Region of Yogyakarta | 45,602 | 18.24 | −5.44 | Lean Season | Emergency |
23 | Nov 2023 | East Java | 41,650 | 16.66 | −7.76 | Lean Season | Emergency |
24 | Dec 2023 | South Sulawesi | 44,673 | 17.87 | −3.34 | Festive Period | Safe |
25 | Jan 2023 | Jakarta | 44,895 | 17.96 | −4.3 | Normal | Safe |
26 | Feb 2023 | West Java | 49,026 | 19.61 | −3.36 | Harvest Season | Safe |
27 | Mar 2023 | Central Java | 57,321 | 22.93 | −4.3 | Harvest Season | Safe |
28 | Apr 2023 | East Java | 56,488 | 22.6 | −3.97 | Harvest Season | Safe |
29 | May 2023 | Banten | 46,630 | 18.65 | −2.68 | Normal | Safe |
30 | Jun 2023 | Special Region of Yogyakarta | 45,128 | 18.05 | −5.81 | Normal | Emergency |
31 | Jul 2023 | East Java | 49,757 | 19.9 | −4.42 | Normal | Safe |
32 | Aug 2023 | South Sulawesi | 50,844 | 20.34 | −3.04 | Normal | Safe |
33 | Sep 2023 | Jakarta | 50,673 | 20.27 | −3.83 | Normal | Safe |
34 | Oct 2023 | West Java | 38,489 | 15.4 | −7.19 | Lean Season | Emergency |
35 | Nov 2023 | Central Java | 38,663 | 15.47 | −5.95 | Lean Season | Emergency |
36 | Dec 2023 | East Java | 46,242 | 18.5 | −3.5 | Festive Period | Safe |
37 | Jan 2023 | Banten | 43,207 | 17.28 | −2.78 | Normal | Safe |
38 | Feb 2023 | Special Region of Yogyakarta | 53,561 | 21.42 | −3.47 | Harvest Season | Safe |
39 | Mar 2023 | East Java | 61,956 | 24.78 | −3.3 | Harvest Season | Safe |
40 | Apr 2023 | South Sulawesi | 51,311 | 20.52 | −3.28 | Harvest Season | Safe |
41 | May 2024 | Jakarta | 47,247 | 18.9 | −2.43 | Normal | Safe |
42 | Jun 2024 | West Java | 45,231 | 18.09 | −5.06 | Normal | Emergency |
43 | Jul 2024 | Central Java | 48,059 | 19.22 | −3.79 | Normal | Safe |
44 | Aug 2024 | East Java | 51,320 | 20.53 | −2.71 | Normal | Safe |
45 | Sep 2024 | Banten | 48,949 | 19.58 | −4.7 | Normal | Safe |
46 | Oct 2024 | Special Region of Yogyakarta | 40,777 | 16.31 | −5.46 | Lean Season | Emergency |
47 | Nov 2024 | East Java | 41,320 | 16.53 | −5.34 | Lean Season | Emergency |
48 | Dec 2024 | South Sulawesi | 43,713 | 17.49 | −5.54 | Festive Period | Emergency |
49 | Jan 2024 | Jakarta | 45,863 | 18.35 | −5.11 | Normal | Emergency |
50 | Feb 2024 | West Java | 55,269 | 22.11 | −4.32 | Harvest Season | Safe |
51 | Mar 2024 | Central Java | 56,425 | 22.57 | −4.31 | Harvest Season | Safe |
52 | Apr 2024 | East Java | 51,761 | 20.7 | −3.69 | Harvest Season | Safe |
53 | May 2024 | Banten | 47,387 | 18.95 | −3.92 | Normal | Safe |
54 | Jun 2024 | Special Region of Yogyakarta | 43,063 | 17.23 | −3.5 | Normal | Safe |
55 | Jul 2024 | East Java | 47,364 | 18.95 | −2.02 | Normal | Safe |
56 | Aug 2024 | South Sulawesi | 50,598 | 20.24 | −5.8 | Normal | Emergency |
57 | Sep 2024 | Jakarta | 47,796 | 19.12 | −3.85 | Normal | Safe |
58 | Oct 2024 | West Java | 42,224 | 16.89 | −5.07 | Lean Season | Emergency |
59 | Nov 2024 | Central Java | 36,220 | 14.49 | −7.41 | Lean Season | Emergency |
60 | Dec 2024 | East Java | 46,853 | 18.74 | −4.72 | Festive Period | Safe |
61 | Jan 2024 | Banten | 42,190 | 16.88 | −4.86 | Normal | Safe |
62 | Feb 2024 | Special Region of Yogyakarta | 53,991 | 21.6 | −3.91 | Harvest Season | Safe |
63 | Mar 2024 | East Java | 54,561 | 21.82 | −3.6 | Harvest Season | Safe |
64 | Apr 2024 | South Sulawesi | 54,697 | 21.88 | −3.34 | Harvest Season | Safe |
65 | May 2024 | Jakarta | 47,687 | 19.07 | −2.3 | Normal | Safe |
66 | Jun 2024 | West Java | 45,048 | 18.02 | −3.28 | Normal | Safe |
67 | Jul 2024 | Central Java | 50,611 | 20.24 | −3.25 | Normal | Safe |
68 | Aug 2024 | East Java | 53,052 | 21.22 | −5.61 | Normal | Emergency |
69 | Sep 2024 | Banten | 45,590 | 18.24 | −5.67 | Normal | Emergency |
70 | Oct 2024 | Special Region of Yogyakarta | 39,593 | 15.84 | −6.74 | Lean Season | Emergency |
71 | Nov 2024 | East Java | 36,452 | 14.58 | −5.41 | Lean Season | Emergency |
72 | Dec 2024 | South Sulawesi | 40,329 | 16.13 | −2.95 | Festive Period | Safe |
73 | Jan 2024 | Jakarta | 41,244 | 16.5 | −2.52 | Normal | Safe |
74 | Feb 2024 | West Java | 53,541 | 21.42 | −4.92 | Harvest Season | Safe |
75 | Mar 2024 | Central Java | 57,112 | 22.84 | −4.46 | Harvest Season | Safe |
76 | Apr 2024 | East Java | 55,557 | 22.22 | −3.48 | Harvest Season | Safe |
77 | May 2024 | Banten | 49,348 | 19.74 | −4.95 | Normal | Safe |
78 | Jun 2024 | Special Region of Yogyakarta | 42,797 | 17.12 | −4.37 | Normal | Safe |
79 | Jul 2024 | East Java | 47,953 | 19.18 | −3.35 | Normal | Safe |
80 | Aug 2024 | South Sulawesi | 51,673 | 20.67 | −3.13 | Normal | Safe |
81 | Sep 2025 | Jakarta | 46,285 | 18.51 | −4.04 | Normal | Safe |
82 | Oct 2025 | West Java | 42,818 | 17.13 | −5.46 | Lean Season | Emergency |
83 | Nov 2025 | Central Java | 41,802 | 16.72 | −7.55 | Lean Season | Emergency |
84 | Dec 2025 | East Java | 46,661 | 18.66 | −5.04 | Festive Period | Emergency |
85 | Jan 2025 | Banten | 46,523 | 18.61 | −2.07 | Normal | Safe |
86 | Feb 2025 | Special Region of Yogyakarta | 49,775 | 19.91 | −3.17 | Harvest Season | Safe |
87 | Mar 2025 | East Java | 57,504 | 23 | −3.13 | Harvest Season | Safe |
88 | Apr 2025 | South Sulawesi | 56,432 | 22.57 | −3.16 | Harvest Season | Safe |
89 | May 2025 | Jakarta | 50,485 | 20.19 | −2.72 | Normal | Safe |
90 | Jun 2025 | West Java | 43,198 | 17.28 | −2.75 | Normal | Safe |
91 | Jul 2025 | Central Java | 53,489 | 21.4 | −3.23 | Normal | Safe |
92 | Aug 2025 | East Java | 54,706 | 21.88 | −4.73 | Normal | Safe |
93 | Sep 2025 | Banten | 50,989 | 20.4 | −5.47 | Normal | Emergency |
94 | Oct 2025 | Special Region of Yogyakarta | 42,663 | 17.07 | −5.32 | Lean Season | Emergency |
95 | Nov 2025 | East Java | 39,844 | 15.94 | −6.89 | Lean Season | Emergency |
96 | Dec 2025 | South Sulawesi | 43,339 | 17.34 | −3.35 | Festive Period | Safe |
97 | Jan 2025 | Jakarta | 42,210 | 16.88 | −2.67 | Normal | Safe |
98 | Feb 2025 | West Java | 50,287 | 20.11 | −3.44 | Harvest Season | Safe |
99 | Mar 2025 | Central Java | 61,567 | 24.63 | −3.86 | Harvest Season | Safe |
100 | Apr 2025 | East Java | 51,289 | 20.52 | −3.19 | Harvest Season | Safe |
Table 6 contains 100 synthetic records, with 70 Safe and 30 Emergency labels (70%/30%). No Warning labels occur. The generating code, distributional sampling procedure and exact calibration coefficients were not supplied; they must not be reconstructed as established facts. The observed numerical ranges are 36,220–61,956 tons for stock, 14.49–24.78 for stock ratio, and −7.76 to −2.02% day⁻¹ for simulated signed stock change rate. Those are ranges in the supplied table, not verified bounds from ministry data.
The official agricultural-economic publications (Center for Agricultural Data and Information System, Ministry of Agriculture of Indonesia, 2023, 2024b, 2024c, 2025) provide contextual indicators on agricultural markets, price and some market supply series, but not the full simulated province–month stock observations. In particular, citing them does not convert modeled records into an observed dataset. The 100-row table is not described as having been collected from these markets.
The Food Consumption Statistics 2024 report (Center for Agricultural Data and Information System, Ministry of Agriculture of Indonesia, 2024a) presents national food-consumption and availability indicators, not the individual simulated stock-ratio denominators. Within the provided cases, the stock ratio is numerically consistent with stock divided by approximately 2,500 tons; stock ratio and stock volume correlate almost perfectly (Pearson r = 0.999999). The denominator is an inferred construction pattern, not a verified observed population- or per-capita-derived demand measurement.
The rice outlook (Secretariat General, Ministry of Agriculture of Indonesia, 2025) informs the plausibility of harvest and lean-season categories, but does not supply the synthetic label assignment. The simulated seasonal distribution is: harvest 27 Safe/0 Emergency, lean 0 Safe/16 Emergency, normal 37 Safe/12 Emergency, and festive 6 Safe/2 Emergency. The classifications are not independent evidence of seasonal causation, because the data-generating mechanism is unknown.
Table 6 presents the simulation-based classification dataset used to evaluate the proposed decision tree model, providing a structured basis for reproducing the classification analysis and interpreting the resulting decision rules. The dataset supports methodological assessment of stock-risk classification patterns rather than direct estimation of actual regional food shortages. Meanwhile, the regional clustering analysis encompasses 3,600 reported observations, with the resulting vulnerability patterns represented through cluster profiles and graphical visualizations. These outputs provide an exploratory understanding of regional food supply characteristics, particularly variations in price stability, supply availability, and distribution accessibility. However, the availability of aggregate results without the corresponding observation-level dataset limits the independent reconstruction of variable distributions, numerical thresholds, and quantitative cluster validation indices. Accordingly, the clustering findings are interpreted as exploratory vulnerability profiles, while further validation using comprehensive regional monitoring data is necessary to establish their statistical robustness and empirical generalizability. Table 7 summarizes the audit results and the provenance boundaries of the two analytical components.
Item | Verified From Supplied File | Unverified / Unavailable |
Classification observations | 100 cases: 70 Safe, 30 Emergency | Generation code, independent outcomes and certification |
Year coverage | 2023: 40; 2024: 40; 2025: 20 | Genuine monthly panel and sampling design |
Regional labels | 7 named regions (25/13/13/13/12/12/12) | Provincial representativeness |
Stock volume | 36,220 to 61,956 tons | External observations or calibration equation |
Stock ratio | 14.49 to 24.78; near stock/2,500 | Observed local-demand denominator |
Signed stock change rate | −7.76 to −2.02% day⁻¹ | Adjacent true daily measurements |
Emergency label rule | All 30 cases satisfy change ≤ −5% day⁻¹ | Original labeling script and independent adjudication |
Clustering illustration | Summary figure and 3 approximate profiles | 3,600 row vectors, 60-unit IDs, all centroid and validity metrics |
The reported classification predictors comprise stock volume at the scenario reference time (tons), stock-to-demand ratio (unitless index), simulated signed stock change rate (% day⁻¹), and season category. Table 8 summarizes their analytical purpose. Two potential limitations are salient: the stock and ratio are nearly exact re-expressions of each other, and the labels appear generated by signed-change thresholds. These properties create redundancy and target leakage, and must be considered before interpreting variable importance. For conceptual clustering, average price (IDR kg⁻¹), preceding-month price change (%), monthly supply volume (tons month⁻¹), and road-network distribution distance (km) are proposed data-collection units only. The original clustering feature units and records remain unavailable, and these observations were not linked to the 100 synthetic classification rows.
Analytical phase | Feature | Interpretation |
Clustering | Average price | Proposed nominal organic-rice price (IDR kg⁻¹); historical unit unverified |
Clustering | Price change | Proposed signed previous-month price change (%) |
Clustering | Supply volume | Quantity supplied during month (tons month⁻¹); not inventory |
Clustering | Distribution distance | Proposed origin-to-hub road-network distance (km) |
Classification | Signed stock change rate | Simulated signed input (% day⁻¹); no adjacent daily measurements |
Classification | Stock-to-demand ratio | Simulated inventory (tons) / period-matched demand (tons); denominator unverified |
Classification | Stock volume | Simulated rice-related inventory at scenario reference time (tons) |
Classification | Seasonal factor | Captures harvest, festive, lean, or normal seasonal condition |
The proposed clustering features—price level, signed price change, supply volume and distribution distance—are grounded as exposure proxies (Rattanawong et al., 2024; Taghizadeh-Hesary et al., 2019; Tchonkouang et al., 2024), but their exact distributions, scaling and numerical relationships are not available in the current files. They do not establish geographic risk prevalence.
Stock volume, its signed short-run change, a stock-to-demand proxy and categorical season constitute the available classification inputs. The simulated signed stock change rate is negative when stock decreases, consistent with Eq. (2) and all 100 rows. The stock-to-demand ratio requires a verified, period-matched demand denominator and independent calibration before organic-specific interpretation.
Table 9 lists proposed interpretive bins (high/medium/low stock, safe/sufficient/critical ratio, and fast/moderate/slow signed stock change rate). These are design thresholds only: the source ministry documents do not validate 42,000/50,000 tons, 17/21 index units, or −4/−6% per day as official organic-stock cutoffs. Notably, the decision-tree target labels follow a different, almost exact −5% per day boundary. The two threshold systems must not be conflated.
Variable | Category | Transformation Rule |
|---|---|---|
Stock volume | High | ≥50,000 tons |
Medium | 42,000 tons to < 50,000 tons | |
Low | <42,000 tons | |
Stock-to-demand ratio | Safe | ≥21 |
Sufficient | 17 to < 21 | |
Critical | <17 | |
Signed stock change rate | Fast | ≤−6% day⁻¹ |
Moderate | >−6% day⁻¹ to ≤−4% day⁻¹ | |
Slow | >−4% day⁻¹ |
The final preprocessed classification matrix contains all 100 supplied cases; there was no row exclusion, duplicate deletion or missing-value imputation. The measured classes are unbalanced (70/30), and the stock ratio is statistically redundant with stock amount. These constraints are reported rather than concealed as independent explanatory signals.
The inherited clustering documentation reports a relatively higher silhouette value at K = 3 but provides neither the actual score nor the complete K-by-score series or original numerical records. Therefore, reproducible comparisons with K = 2, 4, or 5, Elbow inertia, or the Davies–Bouldin index cannot be performed; describing K = 3 as statistically optimal or stable would be unwarranted. The three-cluster profiles are treated as exploratory illustrations only, given the lack of validation evidence.
Figure 2 presents the previously supplied PCA visualization showing three cluster identifiers (Cluster 1: red; Cluster 2: turquoise; Cluster 3: blue). However, the original coordinates and centroid information were unavailable for independent verification. These cluster identifiers cannot be reliably mapped to the stable, moderate, or volatile reference profiles presented in Table 10. Therefore, the Figure 2 serves as an illustrative visualization rather than evidence of validated geographical segregation.

Reference Profile | Distribution Distance (km) | Supply Volume (tons month⁻¹) | Price Change (%) | Illustrative Interpretation |
Volatile | 300 km | 100 tons | 8% | High vulnerability due to long distribution distance, low supply, and high price fluctuation |
Moderate | 150 km | 180 tons | 3% | Intermediate vulnerability with moderate supply and manageable price fluctuation |
Stable | 30 km | 380 tons | 1% | Low vulnerability due to short distribution distance, high supply, and low-price fluctuation |
Table 10 presents three reference profiles representing different food supply vulnerability conditions: volatile, moderate, and stable. The volatile profile is characterized by a longer distribution distance (300 km), lower supply volume (100 tons month⁻¹), and higher price change (8%). The moderate profile represents intermediate conditions, with a distribution distance of 150 km, a supply volume of 180 tons month⁻¹, and a price change of 3%. In contrast, the stable profile represents a shorter distribution distance (30 km), higher supply volume (380 tons month⁻¹), and lower price change (1%). These values are illustrative reference values rather than independently verified cluster centroids, as the original clustering data were unavailable. The three profiles illustrate how supply availability, distribution accessibility, and price fluctuations can be incorporated into regional food vulnerability assessment without implying causal relationships.
The resulting classification provides three interpretable vulnerability profiles that can support the conceptual development of regional food monitoring strategies. Nevertheless, quantitative assessment of cluster membership, centroid variability, silhouette coefficients, and statistical significance requires access to the underlying observation-level data. Consequently, the proposed regional categories are interpreted as exploratory analytical profiles rather than empirically validated vulnerability classifications for individual regions.
Further methodological validation can be conducted using verified organic commodity records containing price, stock, supply volume, distribution distance, and temporal information. The optimal cluster configuration can then be evaluated through complementary validation measures, including the silhouette coefficient, Elbow method, and Davies–Bouldin Index. In addition, cluster stability across different periods, commodities, and regional subsamples should be examined to establish the robustness and generalizability of the regional vulnerability classification.
Figure 3 presents the distribution of 100 simulation-based classification observations across seven Indonesian regional labels. This visualization provides additional information regarding the geographical composition of the classification dataset and complements the interpretation of stock-risk patterns. The observed frequencies represent the distribution of simulated records rather than actual provincial prevalence or nationally representative food supply conditions. Accordingly, geographical interpretations are restricted to the analytical coverage of the classification dataset.

Overall, the regional clustering and stock-risk classification components provide complementary perspectives for developing an interpretable food supply monitoring framework. The clustering profiles characterize structural vulnerability through price, supply, and distribution indicators, while decision tree classification identifies operational stock-risk patterns. Their integration establishes a methodological foundation for future empirical applications in organic food supply monitoring, particularly when supported by certified organic commodity records and independently verified regional observations.
A CART classifier was fitted to the 100 simulated cases using a stratified random split (80 training, 20 test) and five-fold cross-validation; full hyperparameters appear in Section 3.6. Figure 4 shows the freshly fitted tree. Its sole effective split is signed stock decline near −4.99% day⁻¹; neither season, stock ratio nor stock tonnage is used by the fitted model. This directly contradicts the older illustrative multi-branch diagram, which has been replaced.

All 30 Emergency reference labels satisfy signed stock change rate ≤ −5.0% day⁻¹ and all 70 Safe labels have decline > −5.0% day⁻¹ (the least-negative emergency is −5.04%, and the most-negative safe case is −4.95%) (Table 11). The fitted split therefore matches the deterministic threshold pattern observed in the supplied synthetic labels. A decision tree that learns this boundary may achieve high classification scores without identifying independent predictors of actual stock shortages.
Decision Condition | Classification Result | Interpretation |
Signed stock change rate ≤ −5% day⁻¹ | Emergency | Exact rule matching all 30 synthetic emergency labels; not externally validated |
Signed stock change rate > −5% day⁻¹ | Safe | Exact rule matching all 70 synthetic safe labels |
Season, ratio, and stock tonnage | No additional split | Not selected by the fitted decision tree in this dataset |
Warning | Not trained | Absent among 100 synthetic reference labels |
Rule transfer to actual shortage | Not assessed | Requires independently observed labels and prospective testing |
The former interpretation that lean seasons and festive periods independently caused Emergency outcomes is unsupported. Although the synthetic data show 16/16 lean-season cases labeled Emergency, the fitted classifier uses stock change alone and does not split on season. This illustrates the difference between descriptive association and independent predictive contribution.
The held-out test set comprised 20 observations (14 Safe and six Emergency cases), all of which were correctly classified (Table 12 and Figure 5). ive-fold stratified cross-validation yielded an accuracy of 0.980 ± 0.040, balanced accuracy of 0.986 ± 0.029, and macro-F1 of 0.978 ± 0.044. However, because the supplied labels follow an approximately −5%/day threshold based on the stock-decline variable, these results indicate recovery of the predefined synthetic classification rule rather than independent prediction of real-world stock shortages.
Classification Performance on The Hold-Out Test Set | ||||
Label | Precision | Recall | F1-Score | Test Support (n) |
Safe | 1.00 | 1.00 | 1.00 | 14 |
Emergency | 1.00 | 1.00 | 1.00 | 6 |
Macro average | 1.00 | 1.00 | 1.00 | 20 |
Five-Fold Stratified Cross-Validation Results | ||||
Evaluation Metric | Mean ± SD | Folds | Total N | |
Accuracy | 0.980 ± 0.040 | 5 | 100 | |
Balanced accuracy | 0.986 ± 0.029 | 5 | 100 | |
Macro-F1 | 0.978 ± 0.044 | 5 | 100 | |

The full dataset comprised 70 Safe and 30 Emergency records, with no Warning cases. Stratified splitting preserved class proportions, balanced class weights addressed class imbalance, and the depth-3 tree constrained model complexity; no minority-class oversampling was applied. However, because the stock-decline variable was used both as a predictor and as the basis for assigning the reference labels, the evaluation is subject to label-rule circularity. The model’s performance for a Warning category therefore cannot be assessed.
To further examine the model’s sensitivity to changes in stock-related inputs and seasonal conditions, four predefined perturbation scenarios were applied to the 20-case hold-out set, as summarized in Table 13.
Test Perturbation | Emergency Out of 20 | Status Changes vs Baseline | Interpretation |
Unmodified holdout | 6 | — | Reference synthetic scenarios |
Stock and ratio × 0.85 | 6 | 0 | Model insensitive to stock reduction |
Stock and ratio × 0.70 | 6 | 0 | Model insensitive to severe stock reduction |
Stock decline − 2 percentage points day⁻¹ | 18 | 12 | Threshold-dependent warning change |
All seasonal factors set to lean season | 6 | 0 | Model insensitive to season recoding |
The sensitivity tests showed that 15% and 30% reductions in stock volume and stock ratio, as well as recoding all seasonal factors as lean season, did not change the model predictions. In contrast, making the stock-decline rate 2 percentage points day⁻¹ more negative changed 12 of the 20 predictions. This indicates that the fitted model responds primarily to the stock-decline threshold and is insensitive to the tested stock-volume and seasonal perturbations. Given the small synthetic dataset and the absence of independently adjudicated stock disruptions, these results do not support national generalization or operational early-warning claims.
The early-warning matrix (Table 14) is a conceptual 3 × 3 scheme crossing illustrative structural vulnerability (stable, moderate, volatile) with prospective stock status (Safe, Warning, Emergency). It has not been populated with linked observations and therefore provides no validated regional interventions. The Warning tier was not learned from the 100-row synthetic classification sample.
Regional Cluster | Stock-Risk Class | Monitoring Priority | Recommended Action |
|---|---|---|---|
Stable | Safe | Routine monitoring | Continue regular monitoring |
Stable | Warning | Local preventive monitoring | Check local demand and short-term stock |
Stable | Emergency | Stock intervention | Investigate abnormal stock decline |
Moderate | Safe | Preventive monitoring | Monitor price and supply movement |
Moderate | Warning | Distribution review | Improve coordination with suppliers |
Moderate | Emergency | High intervention | Redistribute stock and strengthen supply |
Volatile | Safe | Watchlist | Monitor distribution access and supply flow |
Volatile | Warning | High priority | Prepare stock reinforcement |
Volatile | Emergency | Critical priority | Immediate intervention and emergency response |
The matrix prioritizes the combination of persistent exposure and independently confirmed shortage risk as a transparent triage heuristic motivated by supply disruption (Tchonkouang et al., 2024), supply-chain constraints (Rattanawong et al., 2024), and risk prioritization (Rohmah et al., 2015; Van Asselt et al., 2018).Expert elicitation, calibration of resource costs and observed shortage outcomes are required to verify the ordering of actions.
Table 14 presents an integrated decision-support framework that combines regional vulnerability characteristics and stock-risk classification to establish monitoring priorities and corresponding intervention strategies. The framework incorporates two complementary analytical perspectives: regional clustering, which characterizes structural vulnerability based on price fluctuations, supply availability, and distribution accessibility, and decision tree classification, which identifies operational stock-risk conditions through interpretable decision rules. The integration provides a structured basis for distinguishing routine monitoring requirements from situations that warrant preventive measures or more intensive intervention. Given the distinct observational structures of the two analytical components, the resulting matrix represents a proposed decision-support mechanism rather than an empirically validated combination of region-level predictions.
Based on the proposed monitoring priorities, intervention strategies can be organized into three implementation periods. Immediate actions focus on verifying stock availability, monitoring rapid stock depletion, and identifying potential disruptions along critical distribution routes. Medium-term interventions emphasize strengthening coordination among organic farmer groups, cooperatives, and distribution networks, particularly through improved inventory planning, regional stock allocation, and supply redistribution. Long-term strategies involve developing resilient organic food supply networks, improving certified organic production and distribution capacity, and establishing coordinated monitoring procedures across supply chain stakeholders. These strategies provide a systematic interpretation of the analytical framework and identify potential managerial and policy applications for improving organic food supply resilience.
The proposed integration extends the application of data mining beyond regional segmentation and stock-risk classification by translating analytical outcomes into structured monitoring and intervention priorities. This approach provides a methodological foundation for risk-informed decision-making in organic food supply chains, while its operational effectiveness and policy outcomes require further assessment using integrated empirical monitoring data.
The findings highlight the potential contribution of interpretable data mining techniques to food supply monitoring by combining regional vulnerability characterization and stock-risk classification within a structured analytical framework. The integration of clustering and decision tree classification offers two complementary perspectives for supporting food supply decisions. Regional clustering provides a basis for identifying variations in price stability, supply availability, and distribution accessibility, while decision tree classification enables the extraction of transparent rules associated with stock-risk conditions. This methodological combination is particularly relevant to organic food supply chains, where production seasonality, geographical distribution, and supply coordination are important considerations for maintaining product availability and market stability.
The illustrative regional vulnerability profiles demonstrate how differences in food supply characteristics could be represented under stable, moderate, and volatile conditions. Regions characterized by longer distribution distances, lower supply volumes, and higher price fluctuations may require greater attention in supply chain coordination and inventory planning. These patterns are conceptually consistent with previous studies highlighting the importance of logistics accessibility, supply chain resilience, and distribution efficiency in maintaining food system stability (Rattanawong et al., 2024; Rohmah et al., 2015; Tchonkouang et al., 2024). However, the profiles represent exploratory analytical characteristics rather than independently validated relationships between distribution distance and price volatility. Their principal contribution is to establish interpretable vulnerability dimensions that can guide subsequent empirical monitoring and regional prioritization.
Furthermore, the decision tree analysis identified simulated signed stock change rate as the primary classification attribute, with a decision threshold of −4.99% day⁻¹ separating Safe and Emergency conditions in the simulation-based dataset. This result demonstrates the ability of decision tree classification to translate quantitative stock indicators into understandable decision rules. The close correspondence between this threshold and the predefined classification structure also indicates that the model primarily captures the internal relationships embedded in the simulated observations. Although stock ratio, stock volume, and seasonal factors were included as candidate variables, they did not provide additional discriminatory information within the fitted model. Consequently, their relative contributions to actual stock vulnerability require further investigation using independently observed food supply conditions.
Seasonal characteristics provide an additional consideration for organic food supply monitoring. Harvest periods, lean seasons, and festive periods may influence production availability, inventory turnover, and demand fluctuations. The descriptive patterns observed in the classification dataset suggest the relevance of including seasonal information in future monitoring models. Nevertheless, the fitted decision tree did not select seasonal factors as classification variables, and the sensitivity analysis indicated that seasonal adjustments alone did not alter predicted risk categories. These findings emphasize the importance of evaluating interactions between stock depletion, seasonal conditions, and supply availability when developing more comprehensive early warning models.
From a managerial perspective, the proposed framework establishes a basis for translating data mining outputs into differentiated monitoring and intervention priorities. Structural vulnerability profiles can inform regional supply planning, whereas operational stock-risk classifications can support the identification of conditions requiring closer observation or preventive action. For organic food supply chains, these analytical outputs may support coordination among certified producers, farmer cooperatives, distributors, and relevant policymakers. Further empirical development should incorporate verified organic commodity records, independently established stock-risk outcomes, environmental disruption indicators, and temporal validation procedures to assess model robustness and practical effectiveness. Overall, this study contributes an interpretable analytical foundation for integrating regional vulnerability assessment with stock-risk monitoring, providing a direction for developing evidence-based and adaptive decision support in organic food supply management.
The integration of regional clustering and decision tree classification provides a methodological foundation for developing differentiated monitoring priorities in organic food supply chains. Regional vulnerability characteristics and operational stock-risk conditions can be interpreted together to identify potential intervention requirements and support more systematic supply chain decision-making. As summarized in Table 14, the proposed monitoring framework distinguishes between structural supply vulnerability and short-term stock depletion, enabling the formulation of monitoring strategies according to regional characteristics and risk conditions. The prioritization framework is designed to support evidence-based decision-making, with operational thresholds and intervention requirements to be established through empirical validation and consultation with organic farmer groups, cooperatives, distributors, and relevant food agencies.
Based on the proposed framework, monitoring and intervention priorities are classified into three categories: always-priority, changing-priority, and unique-priority regions. Always-priority regions represent areas experiencing persistent structural vulnerability and recurrent stock shortages across multiple monitoring periods. These conditions may be associated with limited supply availability, restricted distribution accessibility, and consistently high price fluctuations. Such regions would require continuous monitoring, improved inventory management, and stronger coordination among organic food supply chain stakeholders. However, the identification of persistent vulnerability requires repeated empirical observations and independently verified stock-risk conditions.
Changing-priority regions represent areas where food supply vulnerability develops over time due to fluctuations in stock availability, market demand, production seasonality, or distribution conditions. Unlike persistent vulnerability, this category emphasizes temporal changes in regional risk characteristics. Regions that initially demonstrate stable or moderate supply conditions may become vulnerable when stock depletion accelerates or distribution disruptions occur. Consequently, monitoring strategies for this category should emphasize periodic risk assessment, adaptive inventory planning, and preventive supply coordination. The identification of such transitions requires longitudinal monitoring data capable of capturing changes in regional conditions across successive periods.
Unique-priority regions represent areas experiencing vulnerability associated with specific geographical, environmental, or operational characteristics. Potential factors include geographical isolation, limited transportation accessibility, localized production constraints, natural disasters, and seasonal disruptions affecting organic food distribution. These conditions may require targeted intervention strategies that differ from conventional inventory management. For example, geographically isolated regions may benefit from decentralized stock allocation, whereas regions exposed to seasonal production constraints may require stronger coordination between organic producers, cooperatives, and distribution centers. The identification of these priorities should therefore consider region-specific evidence and local supply chain characteristics.
Furthermore, the proposed framework provides a basis for organizing intervention strategies across different implementation periods. Immediate interventions prioritize verification of abnormal stock conditions, assessment of critical distribution routes, and coordination with responsible suppliers or cooperatives. Medium-term strategies emphasize improving inventory planning, strengthening cooperative-based stock management, and enhancing regional distribution coordination. Long-term interventions involve developing resilient organic food supply networks, strengthening certified organic production capacity, and establishing integrated monitoring procedures among supply chain stakeholders. Intervention decisions should be supported by verified monitoring information, available response resources, and predefined escalation criteria rather than relying exclusively on automated risk classification.
Overall, the proposed monitoring priorities extend the methodological contribution of clustering and decision tree classification by connecting regional vulnerability assessment with structured intervention planning. The three priority categories provide a conceptual basis for distinguishing persistent, emerging, and context-specific supply vulnerabilities, while the phased intervention strategies offer practical directions for organic food supply management. Although the current classification analysis is based on simulation-derived observations, the framework establishes an interpretable structure for subsequent empirical implementation. Further research incorporating longitudinal organic commodity records, independently verified stock conditions, and regional supply chain information is expected to strengthen the robustness, adaptability, and practical applicability of the proposed monitoring framework.
5. Conclusion
This study proposes an integrated data mining framework for organic food supply vulnerability assessment by combining regional clustering, decision tree classification, and early warning priority formulation within five interconnected analytical phases. The principal contribution lies in establishing an interpretable methodological approach that connects structural supply vulnerability with operational stock-risk assessment and translates the resulting analytical patterns into differentiated monitoring priorities. The exploratory clustering component presents three illustrative reference vulnerability profiles—stable, moderate, and volatile—based on supply availability, distribution distance, and price fluctuations. These profiles provide a conceptual basis for regional vulnerability characterization, although their statistical validity and geographical applicability require further examination using comprehensive observation-level data.
The decision tree analysis was evaluated using 100 simulation-based stock observations comprising 70 Safe and 30 Emergency cases. The fitted model identified simulated signed stock change rate as the principal classification attribute, with a decision threshold of −4.99% day⁻¹. The stratified testing procedure achieved an accuracy and macro-F1 score of 1.00, while five-fold cross-validation produced an average accuracy of 0.98 ± 0.04. These findings demonstrate the model's ability to reproduce interpretable stock-risk classification rules within the simulated dataset rather than establish predictive performance under independently observed supply conditions. Furthermore, sensitivity analysis revealed that an additional two-percentage-point daily stock decline increased Emergency predictions from 6 to 18 among 20 test observations, whereas stock reductions of 15% and 30% and seasonal recoding produced no classification changes. These results highlight both the transparency of the decision structure and the need to improve its responsiveness to multidimensional supply disruptions.
From a managerial perspective, the proposed integration provides a structured foundation for developing monitoring priorities according to persistent, changing, and location-specific vulnerability characteristics. The resulting decision-support matrix offers a systematic approach to linking analytical risk indicators with preventive monitoring, inventory coordination, and supply chain intervention strategies. Future research should prioritize the development of longitudinal datasets incorporating verified organic commodity information, independently assessed stock-risk conditions, environmental disruptions, and regional supply characteristics. Additional cluster validation, multiclass classification, and external temporal and geographical testing are also necessary to establish model robustness and operational applicability. Overall, the study contributes an interpretable analytical foundation for advancing data-driven monitoring and risk-informed decision-making in organic food supply chains.
Conceptualization, Z.I.H. and D.A.P.; methodology, Z.I.H. and D.A.P.; software, D.A. and A.R.A.; validation, D.A.P. and M.Y.; formal analysis, Z.I.H., D.A., and A.R.A.; investigation, Z.I.H., S.G., and B.P.; resources, S.G., R.N.W.A., and Y.L.A.D.R.; data curation, D.A., R.N.W.A., and Y.L.A.D.R.; writing—original draft preparation, Z.I.H., D.A., S.G., and B.P.; writing—review and editing, D.A.P., A.R.A., and M.Y.; visualization, D.A., A.R.A., and B.P.; supervision, D.A.P. and M.Y.; project administration, Z.I.H. and D.A.P. All authors have read and agreed to the published version of the manuscript.
The data used to support the findings of this study are available from the corresponding author upon reasonable request.
The authors declare no conflicts of interest.
Declaration on the Use of Generative AI and AI-assisted Technologies
During the preparation and revision of this manuscript, the authors used ChatGPT (OpenAI) to assist with language editing, terminology consistency checks, and drafting editorial revisions. The authors reviewed and edited the AI-assisted text and take full responsibility for the accuracy, originality, and integrity of the manuscript.
