Machine Learning Approaches for Forecasting Raspberry Prices and Farm Profitability in Serbia

Abstract Price volatility and uncertain profitability remain critical challenges for Serbia’s raspberry sector, which is among the largest in the world and highly dependent on export markets. This study develops and evaluates machine learning (ML) approaches for forecasting raspberry prices and profitability, using farm-level production and economic data collected between 2020 and 2024. Several models, including multiple linear regression, random forest, gradient boosting, and long short-term memory (LSTM) neural networks, were trained and validated on historical data incorporating yields, input costs, prices, and cultivar characteristics. Forecast accuracy was assessed using mean absolute error (MAE) and root mean square error (RMSE). The results indicate that ensemble methods (random forest and gradient boosting) provided the most robust short-term price forecasts, whereas the LSTM achieved superior performance in capturing non-linear dynamics and seasonal fluctuations. The profitability predictions revealed that family labor costs and price variability were the strongest explanatory factors associated with the gross margin risk. Overall, the findings demonstrate that machine learning offers a valuable tool for anticipating market outcomes and managing economic risk in export-oriented horticulture. By integrating predictive analytics into farm-level and policy decision-making, Serbia’s raspberry producers can improve planning, stabilize income, and strengthen competitiveness in volatile international markets.

Authors

Institutions

Publication Details

Journal
Contemporary Agriculture
Published
2025-11-27
DOI
https://doi.org/10.2478/contagri-2025-0028
Primary Topic
Berry genetics and cultivation research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Approaches for Forecasting Raspberry Prices and Farm Profitability in Serbia

Danica Glavaš-Trbić, Robert Radišić, Vedran Tomić, Stevan Čanak et al.
Contemporary Agriculture
Berry genetics and cultivation research
article

Machine Learning Approaches for Forecasting Raspberry Prices and Farm Profitability in Serbia

Danica Glavaš-Trbić, Robert Radišić, Vedran Tomić, Stevan Čanak, Nataša Milosavljević
article en

Abstract

Abstract Price volatility and uncertain profitability remain critical challenges for Serbia’s raspberry sector, which is among the largest in the world and highly dependent on export markets. This study develops and evaluates machine learning (ML) approaches for forecasting raspberry prices and profitability, using farm-level production and economic data collected between 2020 and 2024. Several models, including multiple linear regression, random forest, gradient boosting, and long short-term memory (LSTM) neural networks, were trained and validated on historical data incorporating yields, input costs, prices, and cultivar characteristics. Forecast accuracy was assessed using mean absolute error (MAE) and root mean square error (RMSE). The results indicate that ensemble methods (random forest and gradient boosting) provided the most robust short-term price forecasts, whereas the LSTM achieved superior performance in capturing non-linear dynamics and seasonal fluctuations. The profitability predictions revealed that family labor costs and price variability were the strongest explanatory factors associated with the gross margin risk. Overall, the findings demonstrate that machine learning offers a valuable tool for anticipating market outcomes and managing economic risk in export-oriented horticulture. By integrating predictive analytics into farm-level and policy decision-making, Serbia’s raspberry producers can improve planning, stabilize income, and strengthen competitiveness in volatile international markets.

Contemporary AgricultureVol. 74(3-4)
University of Novi Sad (RS), University of Belgrade (RS), Institute of Agricultural Economics Belgrade (RS)
Openalex Percentile: Top 72%
Berry genetics and cultivation research
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.

Machine Learning Approaches for Forecasting Raspberry Prices and Farm Profitability in Serbia — Danica Glavaš-Trbić, Robert Radišić, et al. · Contemporary Agriculture (2025) | TGRS Research Map | TGRS