Enhancing Stock Price Prediction Using Machine Learning Models: A Comparative Study of SVM, LSTM, and GRU

dc.contributor.advisorAndrea, Ducci
dc.contributor.authorAlMohamdy, Razan
dc.date.accessioned2024-11-26T12:41:04Z
dc.date.issued2024-08
dc.description.abstractThis study evaluates the effectiveness of three machine learning models—Support Vector Machine (SVM), Long Short-Term Memory (LSTM) networks, and Gated Recurrent Units (GRU)—in predicting the stock prices of Saudi Aramco. Using historical stock price data and technical indicators, the models were assessed based on their accuracy in both long-term and short-term predictions. The findings reveal that LSTM and GRU significantly outperform SVM, with LSTM showing superior performance in capturing long-term dependencies and GRU offering a balance between accuracy and computational efficiency. Specifically, LSTM achieved a Root Mean Squared Error (RMSE) of 0.0516 and a Mean Absolute Error (MAE) of 0.0323, while GRU recorded an RMSE of 0.0539 and an MAE of 0.0234. In contrast, SVM exhibited a much higher RMSE of 0.1712 and an MAE of 0.1079, indicating its struggles with market volatility. The 30-day prediction analysis further highlighted the strengths of LSTM and GRU in short-term forecasting, with both models maintaining an R² value above 0.993, while SVM lagged behind at 0.9332. Despite their advantages, the study identified limitations such as the exclusion of external economic factors and the models' varying effectiveness across different time horizons. These findings contribute to the growing field of financial forecasting, offering practical insights for investors and analysts on model selection. Future research is recommended to incorporate broader economic indicators, explore cross-market validation, and enhance the models' responsiveness to short-term market fluctuations.
dc.format.extent30
dc.identifier.urihttps://hdl.handle.net/20.500.14154/73800
dc.language.isoen
dc.publisherUniversity College London
dc.subjectStock Price Prediction Machine Learning Models
dc.subjectSupport Vector Machine (SVM)
dc.subjectLong Short-Term Memory (LSTM)
dc.subjectGated Recurrent Unit (GRU)
dc.subjectComparative Analysis
dc.subjectFinancial Forecasting
dc.subjectData Preprocessing
dc.subjectTechnical Indicators
dc.subjectMoving Averages (MA)
dc.subjectRelative Strength Index (RSI)
dc.subjectMoving Average Convergence Divergence (MACD)
dc.subjectTime Series Analysis
dc.subjectRoot Mean Squared Error (RMSE)
dc.subjectMean Squared Error (MSE)
dc.subjectMean Absolute Error (MAE)
dc.subjectHyperparameter Tuning
dc.subjectMATLAB
dc.subjectYahoo Finance
dc.subjectSaudi Aramco
dc.subjectFinancial Markets
dc.subjectModel Evaluation
dc.subjectInvestment Decision-Making
dc.subjectHigh-Frequency Trading
dc.subjectFeature Selection
dc.titleEnhancing Stock Price Prediction Using Machine Learning Models: A Comparative Study of SVM, LSTM, and GRU
dc.typeThesis
sdl.degree.departmentMechanical Engineering
sdl.degree.disciplineFinance
sdl.degree.grantorUniversity College London
sdl.degree.nameMSc Engineering with Finance

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
SACM-Dissertation.pdf
Size:
916.12 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.61 KB
Format:
Item-specific license agreed to upon submission
Description:

Copyright owned by the Saudi Digital Library (SDL) © 2024