Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Predicting Food Price Trends in Nigeria Using Advanced Machine Learning Techniques: LSTM and XGBoost

Domaine:

socioeconomicagriculture

Type de record:

paper
Créateur:
ManBleMos
Éditeur:
RSI
Hôte:
Food price volatility poses significant challenges to food security, poverty reduction, and economic planning in Nigeria. In response to these concerns, this study applies advanced machine learning techniques Long Short-Term Memory (LSTM) networks and Extreme Gradient Boosting (XGBoost) to forecast food prices using data from the World Food Programme spanning 2002 to 2024. Comprehensive data preprocessing steps were undertaken, including normalization and feature engineering, with the integration of external macroeconomic indicators such as inflation rates and fuel prices to enrich the models. Model performance was evaluated using standard metrics: Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and the coefficient of determination (R²).The results demonstrate that the XG Boost model outperformed the LSTM network across all evaluation criteria. XGBoost achieved a lower RMSE of ₦62.94 and a lower MAE of ₦39.39, compared to LSTM’s RMSE of ₦84.27 and MAE of ₦49.20. Moreover, XGBoost attained a higher R² value of 0.91 versus LSTM’s 0.83, indicating greater predictive accuracy and better explanatory power. Both models successfully captured major historical price disruptions associated with the 2008–2010 global financial crisis and the COVID-19 pandemic, while a period of relative price stability was observed between 2016 and 2018.The findings highlight the value of machine learning models particularly XGBoost as effective tools for enhancing food price forecasting and supporting proactive, data-driven food security interventions. Future research could further improve predictive accuracy by incorporating real-time satellite imagery, weather variables, and broader macroeconomic indicators into forecasting frameworks.

Visit

doi.org

Similaires

Predicting population growth in Libya using deep learning techniques (LSTM)Machine Learning Model Approaches for Price Prediction in Coffee Market using Linear Regression, XGB, and LSTM TechniquesPredicting food prices in Kenya using machine learning: a hybrid model approach with XGBoost and gradient boostingPredicting Food Prices in Nigeria Using Machine Learning: Symbolic RegressionPredicting malaria outbreak in The Gambia using machine learning techniquesPredicting adverse pregnancy outcome in Rwanda using machine learning techniques

Predicting population growth in Libya using deep learning techniques (LSTM)

Predicting population growth is a crucial element in planning future resources and sustainable devel

Machine Learning Model Approaches for Price Prediction in Coffee Market using Linear Regression, XGB, and LSTM Techniques

Investors and other business persons have a desire to know about the future market price because, if

Predicting food prices in Kenya using machine learning: a hybrid model approach with XGBoost and gradient boosting

Introduction Food price volatility continues to be a significant concern in Ke

Predicting Food Prices in Nigeria Using Machine Learning: Symbolic Regression

The aim of this study is to predict the prices of local rice, beans, and Garri in the South West (SW

Predicting malaria outbreak in The Gambia using machine learning techniques

Malaria is the most common cause of death among the parasitic diseases. Malaria continues to pose a

Predicting adverse pregnancy outcome in Rwanda using machine learning techniques

Background Adverse pregnancy outcomes pose significant risk to maternal and neonatal health, contr