https://github.com/amazon-science/causal-forecasting

https://github.com/amazon-science/causal-forecasting

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: amazon-science
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 421 KB
Statistics
  • Stars: 13
  • Watchers: 3
  • Forks: 3
  • Open Issues: 1
  • Releases: 0
Archived
Created about 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Code of conduct

README.md

This is the code to reproduce the experiments for the paper 'Causal Forecasting: Generalization Bounds for Autoregressive Models'.

Prerequisites

Python 3

How to run

To install necessary dependencies call pip3 install -r requirements.txt

Simulation Experiments

Run the simulation experiments with cd simulation_experiments python3 compare_estimators.py You can also use different parameters, e.g. python3 compare_estimators.py --seed=1 For a comprehensive list of parameters use the help flag. The results will be saved in the data directory. To plot the results run python3 correlation_vs_error_plot.py python3 corr_vs_err_omega.py python3 error_diff_hist.py python3 error_stat_vs_causal.py python3 sample_size_vs_error.py python3 plot_corr_vs_err_misspec.py Each file corresponds to a figure in the paper. The resulting plots will also be stored in the img directory.

Real Data Experiments

Train the models remotly by using the script cd gluonts ./scripts/launch_remote_jobs.sh Then the plots from the paper can be created with the notebooks gluonts/gluonts.ipynb gluonts/remote-jobs-gluonts.ipynb

License

This project is licensed under the Apache-2.0 License.

Owner

  • Name: Amazon Science
  • Login: amazon-science
  • Kind: organization

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (4)
Top Labels
Issue Labels
Pull Request Labels
dependencies (4)