Git Product home page Git Product logo

consumption_prediction's Introduction

Improvements to Consumption Prediction

This repository contains the paper Improvements to Consumption Prediction: Machine Learning Methods and Novel Features as well as reference code and associated data.

Improvements to Consumption Prediction: Machine Learning Methods and Novel Features was published in the SMU Data Science Review in 2018. Link: https://scholar.smu.edu/datasciencereview/vol1/iss4/

These Jupyter Notebooks contain a portion of the associated code for the paper.

  • Economic variable stationarity: pce_econ_stat.ipynb
  • Sentiment variable stationarity: pce_sent_stat.ipynb
  • Vector Autoregression (VAR) models: pce_var_model.ipynb
  • Random Forest models: pce_rf_model.ipynb

Requirements

Python 3.*

Anaconda Python distribution (recommended)

Conda Environments

Additional Python packages (included with Anaconda distribution) -jupyter -matplotlib -numpy -pandas -seaborn -sklearn -statsmodels

Installation

1. Install Anaconda

Reference:
macOS: https://docs.continuum.io/anaconda/install/mac-os.html
Windows: https://docs.continuum.io/anaconda/install/windows

2. Create conda environment from the pce-requirements.yml file

Reference: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html

Example Code: conda env create -f pce-requirements.yml --name impr-pce-env

3. Activate the new environment

Example Code:
macOS: conda activate impr-pce-env
Windows: activate impr-pce-env

4. Launch Jupyter Notebooks

Reference: https://jupyter-notebook.readthedocs.io/en/stable/

Example Code: jupyter notebook

consumption_prediction's People

Contributors

gkoswald avatar

Watchers

Christos PANAGIOTOU 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.