Git Product home page Git Product logo

elman_rnn's Introduction

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!

elman_rnn's People

Contributors

voscarmv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.