Abstract

A new stock forecasting model that combines time attention and adaptive particle swarm optimization with LSTM (APSO-TA-LSTM) is proposed to improve the forecasting ability of neural networks for financial time series. The model uses a two-layer LSTM network to encode stock information within the time window and employs time attention to strategically focus on dependencies among time series features for more accurate feature representations. Additionally, the proposed adaptive particle swarm optimization algorithm is used to pick out the key parameters of the network structure and enhance the overall prediction performance. Finally, the experimental results on three stock datasets validate the innovation and effectiveness of our method, and this work will have a broad application prospect in the study of financial time series.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.