Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Stock Price Forecasting using Convolutional Neural Networks and Optimization Techniques

Author 1: Nilesh B. Korade Author 2: Mohd. Zuber
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 11 · Published 2022 · Cited by 15

DOI: https://doi.org/10.14569/IJACSA.2022.0131142

Abstract

Forecasting the correct stock price is intriguing and difficult for investors due to its irregular, inherent dynamics, and tricky nature. Convolutional neural networks (CNN) have impressive performance in forecasting stock prices. One of the most crucial tasks when training a CNN on a stock dataset is identifying the optimal hyperparameter that increases accuracy. In this research, we propose the use of the Firefly algorithm to optimize CNN hyperparameters. The hyperparameters for CNN were tuned with the help of Random Search (RS), Particle Swarm Optimization (PSO), and Firefly (FF) algorithms on different epochs, and CNN is trained on selected hyperparameters. Different evaluation metrics are calculated for training and testing datasets. The experimental finding demonstrates that the FF method finds the ideal parameter with a minimal number of fireflies and epochs. The objective function of the optimization technique is to reduce MSE. The PSO method delivers good results with increasing particle counts, while the FF method gives good results with fewer fireflies. In comparison with PSO, the MSE of the FF approach converges with increasing epoch.

Keywords

How to Cite this Article

Korade, N. B., & Zuber, M. (2022). Stock Price Forecasting using Convolutional Neural Networks and Optimization Techniques. International Journal of Advanced Computer Science and Applications, 13(11). https://doi.org/10.14569/IJACSA.2022.0131142

Korade, Nilesh B., and Mohd. Zuber. "Stock Price Forecasting using Convolutional Neural Networks and Optimization Techniques." International Journal of Advanced Computer Science and Applications, vol. 13, no. 11, 2022, https://doi.org/10.14569/IJACSA.2022.0131142.

@article{Korade2022,
  title     = {Stock Price Forecasting using Convolutional Neural Networks and Optimization Techniques},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {11},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Nilesh B. Korade and Mohd. Zuber},
  doi       = {10.14569/IJACSA.2022.0131142},
  url       = {https://doi.org/10.14569/IJACSA.2022.0131142}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.