This program demonstrates how Kuperin's RNN for forecasting Forex can be outperformed by an empty Neural Network which simply outputs it's input unaltered.
The script downloads Foreign Exchange rates data from the European Central Bank and performs the same statistical tests from Kuperin's paper on it, except using an "empty" neutral network.
Instead of performing calculations and data propagation on the input, the empty network simply "predicts" that tomorrow's exchange rate will be the exact same as today. In other words, it outputs the input directly, without alterations.
Even with an empty neural network it's possible to outperform Kuperin's Elman RNN, using the same statistical measures from his paper.
This article contains more details about this refutation.
See my other repo for code implementations of Kuperin's RNN.
You will need these packages to run the example script:
apt-get install build-essential wget
Just run:
./experiment.sh
The R squared results will be saved in R2.data
Oscar Mier
- Github: @voscarmv
- Twitter: @voscarmv
- Linkedin: Oscar Mier
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!