AutoKeras and particle swarm optimization to predict the price trend of stock exchange

Doaa A. Fattah, Amany A. Naim, Abeer S. Desuky, Mervat S. Zaki


The stock price varies depending on time, so stock market data is time-series data. The prediction of the trend of a stock price is a more interesting topic for investors to take an investment decision in a specific stock. Prediction of stock price always depends on machine learning algorithms. In this work, optimizing deep neural network (DNN) is used for predicting if the close price is reached to the profit which is determined by the investor or not and improve the prediction accuracy. Particle swarm optimization (PSO) and auto machine learning (AutoML) are used as optimizers with DNNs. The methods are applied to data of nine companies in Indonesia and National Stock Exchange (NSE) of India. The data is got from yahoo finance. Based on the experimental results, AutoML of deep learning proved to have the best accuracy rate, which is varying from 81 percent to 92 percent across all companies, and the accuracy after optimizing DNNs using PSO is varying from 73 percent to 82 percent across all companies.


Auto machine learning; Deep neural network; Particle swarm optimization; Prediction; Stock predictions

Full Text:




  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats