• Bhavsar Shachi Research Scholar, Department of Mathematics, Gujarat University, Ahmedabad-380009
  • Ravi Gor Department of Mathematics, Gujarat University, Ahmedabad-380009



Machine Learning, Gated Recurrent Unit, Back Propagation, Neural Networks, Hyper Parameter Tuning


Nowadays people are using social media to show their talent, to voice their viewpoint to society, etc. The use of social media has drastically grown during and after pandemic. Since, the power of social media is known to us, it would be beneficial to invest in such trending companies. But, understanding market pattern will be required to get maximum benefit from stock market, otherwise it may lead to losses. Machine learning is an essential tool for predicting such tasks. Here deep learning based Gated Recurrent Unit neural network is used for prediction. To develop optimized model, grid search algorithm is used for Gated Recurrent Unit hyper parameter tuning. Also, the hyper parameter values obtained by the model was used to verify and predict stock prices for other companies.


Download data is not yet available.


Assaf, R. & Kolasani, S. (2020). Predicting Stock Movement Using Sentiment Analysis of Twitter Feed with Neural Networks. Journal of Data Analysis and Information Processing, 8, 309-319.

Baheti, R. Shirkande, G. Bodake, S. Deokar, J. & Archana, K. (2021). Stock Market Analysis from Social Media and News using Machine Learning Techniques. International, Journal on Data Science and Machine Learning with Applications, 1(1), 59-67.

Bhavsar, S. & Gor, R. (2022). Comparison of Back propagation algorithms: Bidirectional GRU and Genetic Deep Neural Network for Churn Customer (In press). International Organization of Scientific Research Journal of Computer Engineering (IOSR-JCE).

Bhavsar, S. & Gor, R. (2022). Predicting Restaurant Ratings using Back Propagation Algorithm. International Organization of Scientific Research journal of Applied Mathematics (IOSR-JM), 18(2), 5-9.

Cho, K. Merrienboer, B. V. Bahdanau, D. & Bengio , Y. (2014). On the Properties of Neural Machine Translation: Encoder-Decoder Approaches.

Das , S. Mishraa, D. & Rout, M. (2019). Stock market prediction using Firefly algorithm with evolutionary framework optimized feature reduction for OSELM method. Expert Systems with Applications, 1-24.

Dozat, T. (2015). Incorporating Nesterov Momentum into Adam.

Fama, E. F. (1970). Efficient capital markets: a review of theory and empirical work. 5e Journal of Finance, 25(2), 383-417.

Gao, Y. Wang , R. & Zhou, E. (2021). Stock Prediction Based on Optimized LSTM and GRU Models. Hindawi Scientific Programming, 8.

Ghosh, M. & Gor, R. (2022). Ad-Campaign Analysis and Sales prediction using K-means Clustering and Random Forest Regressor. International Organization of Scientific Research Journal of Applied Mathematics, 18(2), 10-14.

Guan, C. Liu , W. & Cheng, J. C. (2021). Using Social Media to Predict the Stock Market Crash and Rebound amid the Pandemic: The Digital 'Haves' and 'Have mores'. Annals of Data Science, 9(1), 5-31.

Kingma, D. & Ba, J. (2015). Adam: A Method for Stochastic Optimization. 3rd International Conference for Learning Representations, San Diego.

Mehta , P. Pandya , S. & Kotecha, K. (2021). Harvesting social media sentiment analysis to enhance stock market prediction using deep learning. PeerJ Computer Science.

Pengfei, Y. & Yan, X. ( 2019). Stock price predictions based on deep neural networks, Neural computing and applications. 1609-1628.

Polamuri, S. Srinivas , K. & A. , K. (2019). Stock Market Prices Prediction using Random Forest and Extra Tree Regression. International Journal of Recent Technology and Engineering (IJRTE), 8(3), 1224-1228.

Rajpurohit, V. Bhavsar , S. & Gor, R. (2021). A comparision of GRU-based ETH price prediction. Proceeding of International Conference on Mathemaitcal Modelling and Simulation in Physical Sciences (MMSPS-2021), 424-431.

Raut, A. & Sethia , P. (2018). Application of LSTM, GRU and ICA for Stock Price Prediction. Proceedings of ICTIS, 2, 1-10.

Selvamuthu, D. Vineet, K. & Mishra, A. (2019). Indian Stock Market prediction using Artificial Neural Networks on tick data. Financial Innovation, 16(5), 1-12.

Shahi, T. Shrestha , A. Neupan, A. & Guo, W. (2020). Stock Price Forecasting with Deep Learning: A Comparative Study. Mdpi journal, 8, 1-15.

Shena, G. Tana, Q. Zhanga, H. & Ze, P. (2018). Deep Learning with Gated Recurrent Unit Networks for Financial Sequence Predictions. 8th International Congress of Information and Communication Technology, 895-903.

Soni, P. Tewari , Y. & Krishnan, D. (2022). Machine Learning Approaches in Stock Price, Prediction: A Systematic Review. Journal of Physics: Conference Series.

Srivinay, Manujakshi, B. C. Kabadi, M. G. & Naik, N. (2022). A hybrid stock price prediction model based on PRE and DeepNeural Network. MDPI.

Touzani, Y. & Douzi, K. (2021). An LSTM and GRU based trading strategy adapted to the Moroccan market, Journal of Big data, 1-16.




How to Cite

Bhavsar, S., & Gor, R. (2022). STOCK PRICE PREDICTION USING GRID HYPER PARAMETER TUNING IN GATED RECURRENT UNIT. International Journal of Engineering Science Technologies, 6(3), 63–73.

Most read articles by the same author(s)

1 2 > >>