Code Monkey home page Code Monkey logo

robust_deconfounding's Introduction

Build Status License: MIT arXiv

DecoR: Deconfounding Time Series with Robust Regression

This repository provides source code for the paper DecoR: Deconfounding Time Series with Robust Regression. In particular, the robust-deconfounding package implements robust deconfounding method DecoR and the robust linear regression methods Torrent and BFS.

The experiments directory holds code for synthetic experiments and provides the necessary scripts to reproduce the experimental results reported in the paper.

Installation

To install the minimal dependencies needed to use the meta-learning algorithms, run in the main directory of this repository

pip install -e .

For full support of all scripts in the repository, for instance to reproduce the experiments, further dependencies need to be installed. To do so, please run in the main directory of this repository

pip install -r requirements.txt

Usage

The following code snippet demonstrates the core functionality of the meta-learners provided in this repository. The code in demo.ipynb demonstrates the core functionality of the DecoR provided in this repository.

Reproducing the experiments

Below we point to the experiment scripts that were used to generate the results reported in the paper.

Synthetic experiments

To run the experiments:

python experiments/experiments.py

To run the ablation experiments:

python experiments/experiments_ablation.py

You can adjust method number of datapoints and the data generating process in the files themselves. Note that the experiments may take a long time to run, depending on the number of repetitions and the size of the datasets especially if BFS is used.

robust_deconfounding's People

Contributors

fschur avatar

Watchers

 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.