Forecasting onion waste at the wholesale level in South Africa using time series and machine learning models

Postharvest waste of onions represents a pressing challenge for the South African agricultural sector, given their significant culinary and economic importance. Despite their nutritional value and economic contribution, studies quantifying onion waste at the South African wholesale value chain remain limited. This study presents a comparative forecasting-based approach to quantifying onion waste at the wholesale market level in South Africa using ARIMA, SARIMA, random forest, XGBoost, and LSTM models. The models were trained using onion waste data collected from 2021 to 2023 at a South African wholesale fresh produce market, along with historical temperature and relative humidity records from the study area. Waste estimates showed seasonal patterns and considerable volatility, ranging from 72 to 4085.71 kg over the study period. The LSTM model outperformed other models, with the lowest MAE of 175.19, RMSE of 290.24, and MAPE of 31.20%. This superior performance shows the predictability of the LSTM model to capture nonlinear and temporal dynamics in the dataset. Notably, the findings suggest that while the climatic variables influence model predictive accuracy for onion waste, incorporating more market produce variables alongside climatic conditions may further improve forecast performance. These findings highlight the potential of machine learning-based forecasting models to inform strategic, evidence-based decisions that reduce postharvest onion waste. Such models can strengthen value chain management by giving market operators and policymakers actionable forecasting tools to optimise procurement, logistics, and waste-reduction interventions across the South African fresh-produce wholesale value chain.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-11-26
DOI
https://doi.org/10.1007/s44163-026-02881-x
Primary Topic
Food Waste Reduction and Sustainability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Forecasting onion waste at the wholesale level in South Africa using time series and machine learning models

Taiwo Gabriel Omomule, Yardjouma Silué, Ikechukwu Kingsley Opara, Umezuruike Linus Opara et al.
Discover Artificial Intelligence
Food Waste Reduction and Sustainability
article

Forecasting onion waste at the wholesale level in South Africa using time series and machine learning models

Taiwo Gabriel Omomule, Yardjouma Silué, Ikechukwu Kingsley Opara, Umezuruike Linus Opara, Olaniyi Amos Fawole
article en

Abstract

Postharvest waste of onions represents a pressing challenge for the South African agricultural sector, given their significant culinary and economic importance. Despite their nutritional value and economic contribution, studies quantifying onion waste at the South African wholesale value chain remain limited. This study presents a comparative forecasting-based approach to quantifying onion waste at the wholesale market level in South Africa using ARIMA, SARIMA, random forest, XGBoost, and LSTM models. The models were trained using onion waste data collected from 2021 to 2023 at a South African wholesale fresh produce market, along with historical temperature and relative humidity records from the study area. Waste estimates showed seasonal patterns and considerable volatility, ranging from 72 to 4085.71 kg over the study period. The LSTM model outperformed other models, with the lowest MAE of 175.19, RMSE of 290.24, and MAPE of 31.20%. This superior performance shows the predictability of the LSTM model to capture nonlinear and temporal dynamics in the dataset. Notably, the findings suggest that while the climatic variables influence model predictive accuracy for onion waste, incorporating more market produce variables alongside climatic conditions may further improve forecast performance. These findings highlight the potential of machine learning-based forecasting models to inform strategic, evidence-based decisions that reduce postharvest onion waste. Such models can strengthen value chain management by giving market operators and policymakers actionable forecasting tools to optimise procurement, logistics, and waste-reduction interventions across the South African fresh-produce wholesale value chain.

Discover Artificial IntelligenceVol. 6(1)
University of Johannesburg (ZA), Stellenbosch University (ZA), International Centre for Biotechnology (NG), University of the Western Cape (ZA)
Food Waste Reduction and Sustainability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon