TechRxiv
Can stock prices be predicted Comparative study of LSTM and SVR for financial market forecast.pdf (934.74 kB)
Download file

Can stock prices be predicted? Comparative study of LSTM and SVR for financial market forecast

Download (934.74 kB)
preprint
posted on 2022-10-14, 15:27 authored by Shashank TripathiShashank Tripathi

Prediction of financial markets is a challenging task due to its volatility and the presence of noise. This work comparatively analyses the implementations of LSTM (Long Short Term Memory) and three kernels of SVR (Support Vector Regressor), namely linear kernel, RBF (Radial Basis Function) kernel and polynomial kernel. A series of experiments are conducted, and results and accuracy are compared. The results indicate that a single kernel of SVR is not sufficient to predict the stocks for all days, although if all the kernels are considered, one of them gets a close result but the LSTM with linear activation function and 4 layers give better result.

History

Email Address of Submitting Author

shashank.tripathi@haw-hamburg.de

ORCID of Submitting Author

0000-0002-0208-5090

Submitting Author's Institution

Uppsala University

Submitting Author's Country

  • Sweden