Code Monkey home page Code Monkey logo

kuperin_forex_srn's Introduction

A refutation to Kuperin's paper on forecasting Forex using an Elman RNN

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.

Installation

You will need these packages to run the example script:

apt-get install build-essential wget

Usage example

Just run:

./experiment.sh

The R squared results will be saved in R2.data

Contact info

Oscar Mier

๐Ÿค 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!

kuperin_forex_srn's People

Contributors

voscarmv avatar

Stargazers

 avatar Luis Saavedra avatar Zakariae El Mejdki avatar  avatar Jose Galvez avatar

Watchers

James Cloos avatar  avatar afrkn avatar  avatar

Forkers

galvezz afrknchld

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.