Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Towards improving farmers livelihood in Nigeria using food price forecasting

Domain:

agriculturesocioeconomic

Record type:

papermodel
Creator:
DivJoaThiTho
Publisher:
Ope
Host:
Nigeria’s agricultural sector represents approximately 25% of the country’s overall GDP and is a major source of employment for its population. This sector is largely driven by smallholder farmers who grow fruits and vegetables on farms under 4 hectares. Despite their significant contribution to food production in Nigeria, most smallholder farmers, approximately 70%, live in poverty, earning less than $1.9 per day. One of the key factors contributing to this situation is a lack of access to market price information. Farmers currently rely only on historical prices to decide on when, what, where and the price to sell their produce. This can lead to suboptimal decisions, resulting in food loss and loss of potential income. To address this challenge, we developed a machine learning pipeline. It utilizes a Random Forest model trained on historical monthly fresh produce prices for Nigeria that are regularly scraped from the internet. We deployed our trained model through an open-access mobile application, Coldtivate. Our model accurately predicted market prices for crops such as tomatoes, onions, potatoes, and plantains in various Nigerian states. The prediction success rate of our model varied across the various states in Nigeria. It ranged from 1% to 20% in Mean Absolute Percentage Error (MAPE) for predictions up to 8 months ahead. When evaluated on a hold-out test set, it yielded an RMSE of 45.16. The average MAPE of our model, when considering state-time-commodity averages, is up to 5% lower than other baseline models, including the benchmark rolling-average, CatBoost, XGBoost, and SARIMA. By detecting patterns and trends in food prices, farmers can use our tool to make more informed decisions about when and what to sell to optimize profit, thereby improving revenue. Furthermore, our model provides a foundation for future machine learning model development in food price forecasting in agrarian countries.

Visit

doi.org

Licenses

https://creativecommons.org/licenses/by/4.0

Similar

Akanscode/nigeria-food-price-forecastingForecasting food price inflation in Nigeria and identifying its drivers using machine learning modelsBurkifa23/Food-Price-Forecasting-in-Rwanda-Rtracyvuleze2-sketch/Kenya-food-price-forecastingbamideleadedeji/Analysis-of-food-price-inflation-in-Nigeria: Analysis-of-food-price-inflation-in-Nigeriakfalayi/Food-price-Nigeria

Akanscode/nigeria-food-price-forecasting

Nigeria Food Price Forecasting Exploratory analysis of 20+ years of Nigerian food price data, as th

Forecasting food price inflation in Nigeria and identifying its drivers using machine learning models

Abstract Persistent food price inflation has become one of Nigeria's most pressing

Burkifa23/Food-Price-Forecasting-in-Rwanda-R

# Food Price Forecasting in Rwanda ## Overview This project analyzes and forecasts food prices i

tracyvuleze2-sketch/Kenya-food-price-forecasting

End-to-end ML pipeline forecasting Kenyan maize prices using LSTM neural networks, combining WFP pri

bamideleadedeji/Analysis-of-food-price-inflation-in-Nigeria: Analysis-of-food-price-inflation-in-Nigeria

This release provides a comprehensive data-driven analysis of food price inflation trends a

kfalayi/Food-price-Nigeria

An analysis of food price index in Nigeria that looks at insecurity as a cause for food inflation #