Skip to main content

Modelling and Forecasting Foreign Direct Investment: A Comparative Application of Machine Learning Based Evolutionary Algorithms Hybrid Models

  • Conference paper
  • First Online:
Intelligent Computing and Optimization (ICO 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 854))

Included in the following conference series:

  • 262 Accesses

Abstract

The current study sought to determine whether genetic algorithm can improve forecasting performance and accuracy of machine learning models (ANN, SVR and LSSVR) in a hybrid setting for modelling and forecasting foreign direct investment. The study employed artificial neural network (ANN), support vector regression (SVR) and least squares support vector regression (LSSVR) as benchmark models to determine the forecasting performance of both artificial neural networks based genetic algorithm (ANN-GA) and support vector regression based genetic algorithm (SVR-GA) models respectively. Monthly time series data of foreign direct investment, exchange rate, inflation rate and gross domestic product from Jan 1970 to June 2019 were employed as time series data. The results showed that ANN had a better forecasting accuracy than both SVR and LSSVR respectively, and in the hybrid models SVR-GA had a better forecasting performance than ANN-GA. In the overall it was found that genetic algorithm does not improve the forecasting performance and accuracy of machine learning models as show by MSE, RMSE, MAE, MAPE, and MASE. The study recommends that other evolutionary algorithms be adopted and used to optimize hyper-parameters of machine learning models.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  • Al-Fugara, A.K., Ahmadlou, M., Al-Shabeeb, A.R., Alayyash, S., Al-Amoush, H., Al-Adamat, R.: Spatial mapping of groundwater springs potentiality using grid search-based and genetic algorithm-based support vector regression. Geocarto Int. 37, 284–303 (2022)

    Article  Google Scholar 

  • Ani, K.A., Agu, C.M.: Predictive comparison and assessment of ANFIS and ANN, as efficient tools in modeling degradation of total petroleum hydrocarbon (TPH). Cleaner Waste Syst., 100052 (2022)

    Google Scholar 

  • Bao-De, L., Xin-Yang, Z., Mei, Z., Hui, L., Guang-Qian, L.: Improved genetic algorithm-based research on optimization of least square support vector machines: an application of load forecasting. Soft. Comput. 25(18), 11997–12005 (2021). https://doi.org/10.1007/s00500-021-05674-9

    Article  Google Scholar 

  • Barapatre, O., Tete, E., Sahu, C.L., Kumar, D., Kshatriya, H.: Stock price prediction using artificial neural network. Int. J. Adv. Res. Ideas Innov. Technol 4, 916–922 (2018)

    Google Scholar 

  • Bing, Y., Hao, J.K., Zhang, S.C.: Stock market prediction using artificial neural networks. Adv. Eng. Forum, Trans. Tech. Publ., 1055–1060 (2012)

    Google Scholar 

  • Chaudhry, S.S., Varano, M.W., Xu, L.: Systems research, genetic algorithms and information systems. Syst. Res. Behav. Sci.: The Official J. Inter. Fed. Syst. Res. 17, 149–162 (2000)

    Article  Google Scholar 

  • Chen, K.-Y., Wang, C.-H.: Support vector regression with genetic algorithms in forecasting tourism demand. Tour. Manage. 28, 215–226 (2007)

    Article  Google Scholar 

  • Cheng, J.: Hybrid genetic algorithms for structural reliability analysis. Comput. Struct. 85, 1524–1533 (2007)

    Google Scholar 

  • Cheng, J.: An artificial neural network based genetic algorithm for estimating the reliability of long span suspension bridges. Finite Element. Anal. Design 46, 658–667 (2010)

    Google Scholar 

  • Chujai, P., Kerdprasop, N., Kerdprasop, K.:. Time series analysis of household electric consumption with ARIMA and ARMA models. In: Proceedings of the International MultiConference of Engineers and Computer Scientists, 295–300 (2013)

    Google Scholar 

  • Drucker, H., Burges, C.J., Kaufman, L., Smola, A.J., Vapnik, V.: Support vector regression machines. Adv. Neural Info. Process. Syst., 155–161 (1997)

    Google Scholar 

  • Ghosh, G., Mandal, P., Mondal, S.C.: Modeling and optimization of surface roughness in keyway milling using ANN, genetic algorithm, and particle swarm optimization. Int. J. Adv. Manufact. Tech. 100(5–8), 1223–1242 (2017). https://doi.org/10.1007/s00170-017-1417-4

    Article  Google Scholar 

  • Hong, W.-C.: Hybrid evolutionary algorithms in a SVR-based electric load forecasting model. Int. J. Elect. Pow. Energy Syst. 31, 409–417 (2009)

    Google Scholar 

  • Jiang, C.-S., Liang, G.-Q.: Modeling shear strength of medium-to ultra-high-strength concrete beams with stirrups using SVR and genetic algorithm. Soft. Comput. 25, 10661–10675 (2021)

    Article  Google Scholar 

  • Karimi, H., Dastranj, J.: Artificial neural network-based genetic algorithm to predict natural gas consumption. Energy Syst. 5(3), 571–581 (2014). https://doi.org/10.1007/s12667-014-0128-2

    Article  Google Scholar 

  • Kaytez, F., Taplamacioglu, M.C., Cam, E., Hardalac, F.: Forecasting electricity consumption: a comparison of regression analysis, neural networks and least squares support vector machines. Int. J. Elect. Pow. Energy Syst. 67, 431–438 (2015)

    Article  Google Scholar 

  • Li, R., Chen, X., Balezentis, T., Streimikiene, D., Niu, Z.: Multi-step least squares support vector machine modeling approach for forecasting short-term electricity demand with application. Neural Comput. Appl. 33(1), 301–320 (2020). https://doi.org/10.1007/s00521-020-04996-3

    Article  Google Scholar 

  • Liu, S., Tai, H., Ding, Q., Li, D., Xu, L., Wei, Y.: A hybrid approach of support vector regression with genetic algorithm optimization for aquaculture water quality prediction. Math. Comput. Model. 58, 458–465 (2013)

    Article  Google Scholar 

  • Makridakis, S., Wheelwright, S., Hyndman, R.J.: Forecasting: Methods and Applications. Wiley (1998)

    Google Scholar 

  • Nourani, V., Komasi, M., Mano, A.: A multivariate ANN-wavelet approach for rainfall–runoff modeling. Water Resour. Manage 23, 2877 (2009)

    Article  Google Scholar 

  • Nwankwo, S.C.: Autoregressive integrated moving average (ARIMA) model for exchange rate (Naira to Dollar). Acad. J. Interdis. Stud. 3, 429 (2014)

    Google Scholar 

  • Nyoni, T.: Modeling and Forecasting Naira/USD Exchange Rate in Nigeria: A Box-Jenkins ARIMA Approach (2018)

    Google Scholar 

  • Onu, C.E., Nweke, C.N., Nwabanne, J.T.: Modeling of thermo-chemical pretreatment of yam peel substrate for biogas energy production: RSM, ANN, and ANFIS comparative approach. Appl. Surf. Sci. Adv. 11, 100299 (2022)

    Article  Google Scholar 

  • Orjuela-Canon, A.D., Jutinico, A.L., Gonzalez, M.E.D., Garcia, C.E.A., Vergara, E., Palencia, M.A.: Time series forecasting for tuberculosis incidence employing neural network models. Heliyon 8 (2022)

    Google Scholar 

  • Rapoo, M.I., Munapo, E., Chanza, M.M., Ewemooje, O.S.: Modelling and Forecasting Portfolio Inflows: A Comparative Study of Support Vector Regression, Artificial Neural Networks, and Structural VAR Models. Handbook of Research on Smart Technology Models for Business and Industry. IGI Global (2020)

    Google Scholar 

  • Rapoo, M.I., Xaba, D.: A comparative analysis of artificial neural network and autoregressive integrated moving average model on modeling and forecasting exchange rate. Int. J. Econ. Manage. Eng. 11, 2669–2672 (2017)

    Google Scholar 

  • Shalev-Shwartz, S., Ben-David, S.: Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press (2014)

    Book  Google Scholar 

  • Smola, A.J., Scholkopf, B.: . Learning with Kernels. Citeseer (1998)

    Google Scholar 

  • Suykens, J.A., van Gestel, T., de Brabanter, J., de Moor, B., Vandewalle, J.P.: Least Squares Support Vector Machines. World Scientific (2002)

    Google Scholar 

  • Talei, A., Chua, L.H.C., Wong, T.S.: Evaluation of rainfall and discharge inputs used by Adaptive Network-based Fuzzy Inference Systems (ANFIS) in rainfall–runoff modeling. J. Hydrol. 391, 248–262 (2010)

    Article  Google Scholar 

  • Tay, F.E., Cao, L.: Application of support vector machines in financial time series forecasting. Omega 29, 309–317 (2001)

    Google Scholar 

  • Vapnik, V.: The Nature of Statistical Learning Theory. Springer Science & Business Media (2013)

    Google Scholar 

  • Walls, L., Bendell, A.: Time series methods in reliability. Reliab. Eng. 18, 239–265 (1987)

    Article  Google Scholar 

  • Xu, L., et al.: Mid-term prediction of electrical energy consumption for crude oil pipelines using a hybrid algorithm of support vector machine and genetic algorithm. Energy 222, 119955 (2021)

    Article  Google Scholar 

  • Zhiqiang, G., Huaiqing, W., Quan, L.: Financial time series forecasting using LPP and SVM optimized by PSO. Soft. Comput. 17, 805–818 (2013)

    Article  Google Scholar 

  • Zhu, B., Ye, S., Wang, P., Chevallier, J., Wei, Y.M.: Forecasting carbon price using a multi-objective least squares support vector machine with mixture kernels. J. Forecast. 41, 100–117 (2022)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elias Munapo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rapoo, M.I., Chanza, M., Munapo, E. (2023). Modelling and Forecasting Foreign Direct Investment: A Comparative Application of Machine Learning Based Evolutionary Algorithms Hybrid Models. In: Vasant, P., et al. Intelligent Computing and Optimization. ICO 2023. Lecture Notes in Networks and Systems, vol 854. Springer, Cham. https://doi.org/10.1007/978-3-031-50151-7_3

Download citation

Publish with us

Policies and ethics