Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading
Artificial intelligence is a field in computing that aims to embed intelligence and thinking into machines to help humans accomplish tasks more effectively and efficiently. Neural network was later made popular when computer scientists started studying the process of human thinking, as well as the p...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2022
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/157227 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-157227 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1572272022-05-11T07:25:19Z Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading Lim, Chee Yuan Quek Hiok Chai School of Computer Science and Engineering ASHCQUEK@ntu.edu.sg Engineering::Computer science and engineering Artificial intelligence is a field in computing that aims to embed intelligence and thinking into machines to help humans accomplish tasks more effectively and efficiently. Neural network was later made popular when computer scientists started studying the process of human thinking, as well as the physical operations of human brain. Since then, the use of neural network and artificial intelligence have been adopted in many fields including Finance to detect fraud or trend analysis, Engineering to predict machine failure or replacement rates, Healthcare to propose optimal treatment solutions, Architecture to analyse safety of building structure and many more. This dissertation proposes an architecture known as Fuzzy Embedded Gated Recurrent Unit (FE-GRU) which embeds both fuzzy and recurrent neural network together to explain the black box behaviour of a neural network. This network will be tested using time sensitive (sequential) data and more explanations will be provided to allow better understanding of the FE-GRU. Although this paper explores the use of a combination of fuzzy neural network and recurrent neural network, the evaluation will be done based on trend indicators, and whether there is possibly a better combination of trend indicators. From the raw data obtained from Yahoo Finance, scaling and fuzzification will be performed before it is fed into the GRU as mentioned before. The GRU neural network seeks to determine sequential trends to predict respective outputs and feeds information by tagging respective rule nodes required in the fuzzy neural network. Upon defuzzifying outputs, they are then compared against the actual close price. The performance of the FE-GRU is evaluated and compared against the ARIMA model, vanilla GRU model using Apple’s stock data. Both the ARIMA and vanilla GRU model returned R2 value of 0.98 and 0.89 respectively. The FE-GRU on the other hand have returned a R2 of 0.94. Although the RE-GRU failed to perform better in this case, it still managed to provide profitable returns when used with trend indicators. The conclusion of the trend indicators was that there is no single best indicator and no one best combination of indicator and this will be further explained in subsequent Chapters. Bachelor of Engineering (Computer Science) 2022-05-11T07:25:19Z 2022-05-11T07:25:19Z 2022 Final Year Project (FYP) Lim, C. Y. (2022). Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/157227 https://hdl.handle.net/10356/157227 en SCSE21-0440 application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Engineering::Computer science and engineering |
spellingShingle |
Engineering::Computer science and engineering Lim, Chee Yuan Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
description |
Artificial intelligence is a field in computing that aims to embed intelligence and thinking into machines to help humans accomplish tasks more effectively and efficiently. Neural network was later made popular when computer scientists started studying the process of human thinking, as well as the physical operations of human brain. Since then, the use of neural network and artificial intelligence have been adopted in many fields including Finance to detect fraud or trend analysis, Engineering to predict machine failure or replacement rates, Healthcare to propose optimal treatment solutions, Architecture to analyse safety of building structure and many more.
This dissertation proposes an architecture known as Fuzzy Embedded Gated Recurrent Unit (FE-GRU) which embeds both fuzzy and recurrent neural network together to explain the black box behaviour of a neural network. This network will be tested using time sensitive (sequential) data and more explanations will be provided to allow better understanding of the FE-GRU. Although this paper explores the use of a combination of fuzzy neural network and recurrent neural network, the evaluation will be done based on trend indicators, and whether there is possibly a better combination of trend indicators.
From the raw data obtained from Yahoo Finance, scaling and fuzzification will be performed before it is fed into the GRU as mentioned before. The GRU neural network seeks to determine sequential trends to predict respective outputs and feeds information by tagging respective rule nodes required in the fuzzy neural network. Upon defuzzifying outputs, they are then compared against the actual close price.
The performance of the FE-GRU is evaluated and compared against the ARIMA model, vanilla GRU model using Apple’s stock data. Both the ARIMA and vanilla GRU model returned R2 value of 0.98 and 0.89 respectively. The FE-GRU on the other hand have returned a R2 of 0.94. Although the RE-GRU failed to perform better in this case, it still managed to provide profitable returns when used with trend indicators. The conclusion of the trend indicators was that there is no single best indicator and no one best combination of indicator and this will be further explained in subsequent Chapters. |
author2 |
Quek Hiok Chai |
author_facet |
Quek Hiok Chai Lim, Chee Yuan |
format |
Final Year Project |
author |
Lim, Chee Yuan |
author_sort |
Lim, Chee Yuan |
title |
Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
title_short |
Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
title_full |
Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
title_fullStr |
Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
title_full_unstemmed |
Fuzzy-Embedded Gated Recurrent Unit (FE-GRU) with application in stock trading |
title_sort |
fuzzy-embedded gated recurrent unit (fe-gru) with application in stock trading |
publisher |
Nanyang Technological University |
publishDate |
2022 |
url |
https://hdl.handle.net/10356/157227 |
_version_ |
1734310089159868416 |