Skip to content

Some elman recurrent neural networks for Kuperin et al forex forecasting.

Notifications You must be signed in to change notification settings

voscarmv/elman_rnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Several implementations of Kuperin's Elman RNN for Forex forecasting.

This repository contains source files of several implementations of Yuri Kuperin's Elman RNN used for forecasting Forex trends.

In their paper, Kuperin et al describe a way to make predictions of Forex exchange rates by using a particular Recurrent Neural Network structure.

These files contain my interpretation of such experiments. I've used a genetic algorithm to evolve the best neural network, to perform the same statistical tests from Kuperin's experiments on it.

I've made a YouTube video of the way the neural network was evolved:

The red plot represents the input value for the RNN. The blue plot represents the desired output. The black plots represent suboptimal RNNs from each generation (each generation is represented by a frame on the video). The green plot represents the best (most evolved) RNN from each generation.

After months of experimenting with this RNN I came to the realization that the method was mostly useless for accurate Forex prediction.

In my other repo I made an experiment to refute the effectiveness of Kuperin's RNN for forecasting Forex. I've written this article detailing how I came to this refutation.

Installation

These source files are provided as-is for instructional purposes only. The project requires the basic build-essential packages, as well as gnuplot to function.

Usage example

Contact me for instrucitons on how to use this code.

Contact info

Oscar Mier

Future features and improvements

  • Perform an experiment where I fit the output of the RNN to it's input, and start evolving it from there. An input equal to the output should be closer to the desired RNN weight set so it should be easier to evolve a RNN from that starting point.

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

Some elman recurrent neural networks for Kuperin et al forex forecasting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published