Nanyang Technological University
Value investing with machine learning: the North American market
Abstract
dc:description.abstractAccurately predicting stock prices remains a challenging problem due to market volatility, complex interdependencies among financial indicators, and the risk of model overfitting. This dissertation presents a systematic study on applying machine learning techniques to stock price prediction and value investment strategy formulation. Historical stock and fundamental data from 2010 to 2024 were collected via web scraping and API queries, followed by rigorous preprocessing, including data cleaning, outlier removal, and logarithmic transformation, to enhance model robustness. Both time‑based and stock‑based dataset splitting strategies were employed to evaluate model generalization. Five models were investigated: Vector Autoregression (VAR), Multilayer Perceptron (MLP), Light Gradient Boosting Machine (LightGBM), Gated Recurrent Unit (GRU) and Transformer. Hyperparameters were optimized through extensive experimentation, and model performance was evaluated using Mean Absolute Error (MAE) and the coefficient of determination (R^2). The optimized LightGBM model achieved the best performance, with an MAE of 6.5402 and an R² of 0.9653. When applied to value investing, selecting the top 10 stocks based on predicted returns yielded an average actual return 3.28 times higher than investing equally across the entire test set. Finally, the model was applied to predict 2025 stock prices and provide investment recommendations, incorporating the Sortino ratio to adjust for risk. The study demonstrates that machine learning models, when combined with technical and financial fundamentals, can support informed and profitable investment decisions.
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
-
- Liu, Zhaoru
- Advisor dc:contributor.supervisor
-
- Wang Lipo
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/202124