Stock Price Analysis and Forecasting of Nestlé Using Neural Networks
Abstract
Within the broader scope of applications of artificial intelligence to financial forecasting, this paper studies how to deal with nonlinearity and high noise for stock price prediction. We apply BPNN to investigate appropriate configuration settings for long-term stock prediction. Through systematically adjusting hyperparameters like the data span, the hidden-layer structure, or the number of neurons, we show that the most appropriate model for capturing Nestlé stock’s long-run trend characteristics is the one trained on 10 years of data, with 16 neurons over two hidden layers. This setting is not only an inherent regularity of a mature company’s behavior, but it also has robustness as we have done many comparisons. It makes it part of using neural networks in an attempt to achieve financial forecasts.
References
- Shi, Q. Z. (n.d.). Application analysis of stock price prediction model based on BP neural network (Doctoral dissertation, Jinan University).
- Qian, J. L. (2021). Stock price prediction based on LSTM neural network and text analysis (Master’s thesis, Soochow University). https: //doi.org/10.27351/d.cnki.gszhu.2021.003122
- Rao, J. (2023). Research on stock price prediction based on multi-factor and PCA-LSTM (Master’s thesis, China University of Geosciences, Beijing). https: //doi.org/10.27493/d.cnki.gzdzy.2023.000933
- Zhu, F. (2023). Stock price prediction of chemical listed companies based on news factors and other multimodal features (Master’s thesis, Shanghai University of Finance and Economics). https: //doi.org/10.27296/d.cnki.gshcu.2023.002017
- Lin, Z. H. (2025). Research on stock index price prediction and quantitative investment strategy based on GRU neural network (Master’s thesis, Guangdong University of Technology). https: //doi.org/10.27029/d.cnki.ggdgu.2025.003098
- Zhu, R. (2023). Research on stock index price prediction and quantitative investment strategy based on LSTM neural network (Master’s thesis, Yunnan University of Finance and Economics). https: //doi.org/10.27455/d.cnki.gycmc.2023.000333
- Zhou, Q. (2023). Research on multi-source information stock price prediction based on CNN-LSTM hybrid neural network (Master’s thesis, Hebei University of Technology). https: //doi.org/10.27105/d.cnki.ghbgu.2023.000224
- Li, C. (2022). Research on quantitative investment strategies for stock price prediction based on LSTM neural network (Master’s thesis, Yunnan University of Finance and Economics). https: //doi.org/10.27455/d.cnki.gycmc.2022.000921
- Li, T. T. (2021). Stock price prediction based on time series analysis and neural network model (Master’s thesis, Dongbei University of Finance and Economics). https: //doi.org/10.27006/d.cnki.gdbcu.2021.001215
- Leng, T. X. (2021). Stock price prediction analysis based on attention mechanism and LSTM neural network (Master’s thesis, Nanjing University of Science and Technology). https: //doi.org/10.27241/d.cnki.gnjgu.2021.001868