- Research Article
1
- 10.52167/1609-1817-2025-136-1-402-418
COMPARISON OF SINGLE AND HYBRID NEURAL NETWORK MODELS FOR STOCK PRICE FORECASTING
- Feb 18, 2025
- Вестник КазАТК
- Samat Mukhanov + 4 more +4
Forecasting stock prices has always been a complex and challenging task due to its high volatility, noise in data, and abrupt price fluctuations caused by different factors. Traditional approaches, such as quantitative, fundamental, and technical analysis, often struggle to accurately predict stock price movements due to their difficulty in processing non-linear data. The evolution of machine learning, particularly neural network models, opened new opportunities for improving prediction accuracy by handling non-linear and multidimensional data with high effectiveness. This study focuses on evaluating and comparing three neural network architectures, in which the last is a combination of the first two - Convolutional Neural Networks (CNN), Long Short-Term Memory (LSTM), and a hybrid CNN-LSTM model, for forecasting stock prices. Using ten years of historical stock data, taken for Apple Inc. (AAPL) stocks as an example, ranging from 2015 to 2025, the models were trained and tested on key performance metrics such as Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R². Results show that while both CNN and LSTM models show good performance individually, the hybrid CNN-LSTM model can significantly outperform them, achieving the highest accuracy with the lowest error rates. By combining the strengths of CNN for feature extraction and LSTM for temporal sequence processing, the hybrid model effectively captures complex patterns in stock price movements. By iterating over the types of layers to use, we came to the conclusion, that by combining both models into one hybrid model, some layers, like one CNN layer, and one LSTM layer should be removed. This research demonstrates the potential of hybrid neural network models in financial time-series forecasting and comprehensively analyzes their advantages over non-hybrid models.
Read more