Giter Site home page Giter Site logo

cpi_hrnn's Introduction

Forecasting CPI Inflation with Hierarchical Recurrent Neural Networks

This Repository contains implementation of novel model we suggested in our paper.

  1. Hierarchical GRU

In addition as a contribution for further research we provide he data set used in this work, which is taken from the BLS after parsing and pre-processing.

The data could be found on data/cpi_us_dataset.csv note: this is a sample from the all data

A brief description of the data set:

The data set contains the following columns:

  • Date (differs by month)

  • Category- item name

  • Category id- item unique id

  • Price- Seasonally adjusted CPI-U for the given month

  • Weight- Relative importance of the item from the total aggregated index (=100)

*Indent- The hierarchy level (total aggregated index has indent 0, lowest level is 8)

*Parent- Parent’s item name

*Parent ID- Parent’s item ID

In order to run the code please make sure all Prerequisites are met (Pandas==0.22 in particular)

Prerequisites

pip install -r requirements.txt

To execute the code please run one of the following

  1. hierarchical_gru.py

cpi_hrnn's People

Contributors

eliyacohen1 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.