IDEAS home Printed from https://ideas.repec.org/a/bjf/journl/v10y2025i6p979-995.html
   My bibliography  Save this article

Predicting Food Prices in Nigeria Using Machine Learning: Symbolic Regression

Author

Listed:
  • Hameed Olamilekan Ajasa

    (Department of Statistics, University of Ibadan.)

  • Olawale Basheer Akanbi

    (Department of Statistics, University of Ibadan.)

Abstract

The aim of this study is to predict the prices of local rice, beans, and Garri in the South West (SW) and North Central (NC), Nigeria using economic indicators such as exchange rate, inflation rate, crude oil price, past one month price (lag 1) and past five-month price (lag 5) of the food prices as the predictor variables. The data used were extracted from the website of the National Bureau of Statistics from January 2017 to July 2024. The data were split into training set and testing set. The study proposed four machine learning techniques; random forest, decision tree, neural network and symbolic regression to model the prices of food, and the root mean square error (RMSE) was used as a criterion for the model evaluation and comparison. Findings showed that symbolic regression outperformed the other models in predicting the prices of beans in the NC with random forest, decision tree, neural network and symbolic regression having the RMSE values: 1365.41, 1348.86, 672.075 and 395.68 respectively. Similarly, symbolic regression outperformed the other models in predicting the prices of rice in the NC with random forest, decision tree, neural network and symbolic regression having the RMSE values: 662.19, 601.74, 1327.951 and 94.39 respectively. Similarly, in predicting the prices of Garri, symbolic regression outperformed others with random forest, decision tree, neural network and symbolic regression having the RMSE values: 442.57, 429.08, 920.8771, and 84.28 respectively.

Suggested Citation

  • Hameed Olamilekan Ajasa & Olawale Basheer Akanbi, 2025. "Predicting Food Prices in Nigeria Using Machine Learning: Symbolic Regression," International Journal of Research and Innovation in Applied Science, International Journal of Research and Innovation in Applied Science (IJRIAS), vol. 10(6), pages 979-995, June.
  • Handle: RePEc:bjf:journl:v:10:y:2025:i:6:p:979-995
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijrias/digital-library/volume-10-issue-6/979-995.pdf
    Download Restriction: no

    File URL: https://rsisinternational.org/journals/ijrias/articles/predicting-food-prices-in-nigeria-using-machine-learning-symbolic-regression/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bjf:journl:v:10:y:2025:i:6:p:979-995. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Renu Malsaria (email available below). General contact details of provider: https://rsisinternational.org/journals/ijrias/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.