Towards improving farmers livelihood in Nigeria using food price forecasting

Read the full article See related articles

Discuss this preprint

Start a discussion What are Sciety discussions?

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

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.

Article activity feed