Giter VIP home page Giter VIP logo

mqrnn's Introduction

MQRNN

This is a partial implementation to the paper A Multi-Horizon Quantile Recurrent Forecaster.

Files

  • ElectricityLoadDataset.py - a torch.utils.dataset object for the a dataset of electricy consumption by 370 households.
  • Models.py - implementation of the MQRNN achitecture from the paper, including:
    • Encoder-Decoder achitecture using LSTM-MLPs design.
    • Sequence Forking for better utialization of training data.
    • Efficient implementation of the decoder, including stacking tensors for all t\inT, k\inK (see paper) for a single forward use of MLPs (no loops), and single backprop through time of entire NN.
  • loss_functions.py - implementation of the quantile-regression loss function from the paper.
  • plot_utils.py - self explanatory.
  • training.py - training code, including an Estimator class used for both training and inference. Recommended for using on PC.
  • MQRNN.ipynb - a wrapper for training.py, for running in the cloud.

Setup

Please be sure to have the following folders under your code folder:

  • data - including the data file provided in class. If data is changed, please edit ElectricityLoadDataset.py
  • models - for saving the model parameters during runtime (done in valid eval step). One pretrained model is supplied for inference without training.
  • graphs - if you chose to save the graphs created in Estimator.forecast().

Submitted by

  • Tomer Koren
  • Zvika Duetsch
  • Eran Nir

mqrnn's People

Contributors

zvika-deutsch avatar erannir avatar tomerk669 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.