Back to search

Nanyang Technological University

Stock price prediction based on deep neural networks

Abstract

dc:description.abstract

With the increasing demand for stock prediction in global financial markets, traditional manual analysis methods struggle to adapt to the nonlinear and complex characteristics of data. Nowadays AI technology has developed rapidly, machine learning techniques can effectively address these existing challenges in stock prediction. This dissertation conducts a comparative project on stock prediction based on five models, aiming to identify the optimal model for capturing temporal patterns in stock data. The experimental data is derived from the AKShare Interface, covering nearly 20 years of daily trading data of Industrial and Commercial Bank of China (SSE: 601398.SH) from October 2006 to December 2025. Ten core trading indicators are selected as input features, with one feature as prediction target. Five neural network models SimpleRNN, LSTM, GRU, TCN, and Transformer are constructed with consistent training configurations. The models are evaluated using four metrics: MAE,RMSE,MAPE and R^2, supplemented by visualization of prediction results, fitting plots, scatter plots and error distribution histograms. The result of this dissertation shows that the GRU model achieves the best comprehensive performance: it has the smallest MAE (0.0725), a low RMSE (0.1038), a near-minimum MAPE (1.2403), and the highest R² (0.9921). Its predicted values are closest to the true values, with error distribution highly concentrated around 0, demonstrating superior fitting accuracy and stability. LSTM and SimpleRNN follow closely with strong performance, while TCN performs the worst due to dispersed error distribution. Transformer achieves a high R² (0.9907) but lacks stability in high-value regions. At the end of this dissertation, the limitations existing in the research are analyzed, and prospects for future work are put forward.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Guo, Jiyan
Advisor dc:contributor.supervisor
  • Mohammed Yakoob Siyal

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/205707

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Guo, Jiyan. Stock price prediction based on deep neural networks. Nanyang Technological University, 2025. https://hdl.handle.net/10356/205707