Conference

Deep Learning with LSTM for Agricultural Commodity Price Prediction in Indonesia: From Data Collection to Visual Forecasting

Yan Watequlis Syaifudin1, Alvina Marcy Syakirah Permata1, Sujarwo2, Triana Fatmawati1, Pramana Yoga Saputra1, Indrazno Siradjuddin1, Yudi Widhiyasana3, Yuri Ariyanto1, Abiyasa Putra Prasetya1

  1. 1 Politeknik Negeri Malang
  2. 2 University of Brawijaya
  3. 3 State Polytechnic of Bandung,Dept. of Informatics and Computer Engineering,Bandung,Indonesia

International Conference on Data Analytics for Business and Industry (ICDABI), 2025

Agricultural commodities are essential for food security and livelihoods, supporting millions of small-holder farmers and traders. Some commodities are highly susceptible to price volatility due to seasonal production, weather conditions, and market demand. These fluctuations significantly impact inflation and household purchasing power, which makes accurate price prediction crucial for effective decision making across the agricultural supply chain. Recent advances in deep learning have positioned LSTM networks as a powerful solution, outperforming traditional models by capturing nonlinear patterns and long-term dependencies in time-series data. This paper presents an experimental study on end-to-end forecasting framework that integrates real-time data collection from an official website, automated preprocessing, and a two-layer LSTM model to predict prices up to 30 days ahead, with evaluation metrics showing high accuracy for stable commodities like garlic while revealing challenges in forecasting sudden spikes in more volatile items such as chili peppers and red chilies. The results confirm LSTM’s effectiveness over other naïve models, demonstrating its potential to support farmers, traders, and policymakers, especially when applied within a system that bridges data acquisition, modeling, and visualization.

DOI10.1109/icdabi67967.2025.11547603

Open DOILink

© 2026 Edusoc