Code Monkey home page Code Monkey logo

tslib's Introduction

tslib - A Time Series Library

Time Series Forecasting and Imputation

Implementation based on: Model Agnostic Time Series Analysis via Matrix Estimation (https://dl.acm.org/citation.cfm?id=3287319).

This work has the following dependencies:

numpy pandas scipy sklearn

Supported for Python 2.7 and 3+.

Robust Synthetic Control

This library also has an implementation for RSC as detailed in http://www.jmlr.org/papers/volume19/17-777/17-777.pdf

Multi-Dimensional Robust Synthetic Control

This library also has an implementation for mRSC as detailed in http://dna-pubs.cs.columbia.edu/citation/paperfile/230/mRSC.pdf

Documentation:

Please see the test scripts under the tests/ folder which provide sample usage, often with real datasets.

  1. testScriptSingleTimeseries.py: imputing and foreasting a single time series using synthetically generated data. The script uses both the SVD method and ALS.

  2. testScriptMultipleTimeseries.py: imputing and foreasting a multiple time series using synthetically generated data. The script uses both the SVD method and ALS.

  3. testScriptSynthControlSVD.py: two real case studies for Robust Synthetic Control. Case studies and data taken from the pioneering works on Synthetic Control by Abadie et. al. This script uses the SVD method.

  4. testScriptSynthControlALS.py: two real case studies for Robust Synthetic Control. Case studies and data taken from the pioneering works on Synthetic Control by Abadie et. al. This script uses the ALS method.

  5. testScriptMultiSynthControlSVD.py: sample usage of the mRSC method with synthetically generated data. This script uses the SVD method.

tslib's People

Contributors

jehangiramjad avatar abdullaho avatar saeyoung 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.