Effectiveness of various machine learning methods in stock price prediction
Stock investing has always been a risky endeavor and returns are never guaranteed. The way the stock price fluctuates is very hard to predict, as it can be affected by a lot of external factors and does not depend solely on the historical data of the stock. However, with the rapid improvement of mac...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2024
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/176751 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
Summary: | Stock investing has always been a risky endeavor and returns are never guaranteed. The way the stock price fluctuates is very hard to predict, as it can be affected by a lot of external factors and does not depend solely on the historical data of the stock. However, with the rapid improvement of machine learning models, these models can identify the patterns and predict stock prices with a high degree of accuracy. This report is going to test and evaluate three of these machine learning models, Particle Swarm Optimization Long Short-Term Memory, Particle Swarm Optimization Gated Recurrent Unit and Transformer, and find out which model performs the best. Using evaluation metrics such as Mean Square Error, Root Mean Square Error, Mean Absolute Error, Mean Absolute Percentage Error and R squared. This report then tests the models on larger datasets finding out how well the models perform on them. Followed by adding a technical indicator in the form of Bollinger Bands and investigated the difference in performance. |
---|