Skip to main content

ORIGINAL RESEARCH article

Front. Artif. Intell.
Sec. AI in Finance
Volume 8 - 2025 | doi: 10.3389/frai.2025.1546398
This article is part of the Research Topic Applications of AI and Machine Learning in Finance and Economics View all 5 articles

GDP Prediction of The Gambia using Generative Adversarial Networks

Provisionally accepted
Haruna Jallow Haruna Jallow 1*Alieu Gibba Alieu Gibba 2Ronald Waweru Mwangi Ronald Waweru Mwangi 3Herbert Imboga Herbert Imboga 3
  • 1 Pan African University Institute of Basic Sciences, Technology and Innovation, Nairobi, Kenya
  • 2 University of the Gambia, Serekunda, Gambia
  • 3 Jomo Kenyatta University of Agriculture and Technology, Nairobi, Kenya

The final, formatted version of the article will be published soon.

    Predicting Gross Domestic Product (GDP) is one of the most crucial tasks in analyzing a nation's economy and growth. The primary goal of this study is to forecast GDP using factors such as government spending, inflation, official development aid, remittance inflows, and Foreign Direct Investment (FDI). Additionally, the paper aims to provide an alternative perspective to Generative Adversarial Networks method and demonstrate how such deep learning technique can enhance the accuracy of GDP predictions with small data and economy like The Gambia. We proposed the implementation of Generative Adversarial Networks to predict GDP using various economic factors over the period from 1970 to 2022. Performance metrics, including the coefficient of determination R 2 , mean absolute error (MAE), mean absolute percentage error (MAPE), and rootmean-square error (RMSE) were collected to evaluate the system's accuracy. Among the models tested-Random Forest Regression (RF), XGBoost (XGB), and Support Vector Regression (SVR)-the Generative Adversarial Networks (GAN) model demonstrated superior performance, achieving the highest accuracy, which is 99% prediction accuracies. The most dependable model for capturing intricate correlations between GDP and its affecting components, however, RF and XGBoost, also achieved an accuracy of 98% each. This makes GAN the most desirable model for GDP prediction for our study. Through data analysis, this project aims to provide actionable insights to support strategies that sustain economic boom. This approach enables the generation of accurate GDP forecasts, offering a valuable tool for policymakers and stakeholders.

    Keywords: GDP growth, machine learning, Gans, Algorithms, prediction

    Received: 16 Dec 2024; Accepted: 31 Jan 2025.

    Copyright: © 2025 Jallow, Gibba, Mwangi and Imboga. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Haruna Jallow, Pan African University Institute of Basic Sciences, Technology and Innovation, Nairobi, Kenya

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.