Skip to content

Tools for evaluating the performance of causal discovery methods for time series data.

Notifications You must be signed in to change notification settings

cognitive-robots/causal_discovery_for_time_series

 
 

Repository files navigation

Causal Discovery for Time Series

Framework for evaluating temporal observation-based causal discovery techniques on real and synthetic data.

Methods

Scripts

Test AD

Evaluates a given method against a batch of autonomous driving CSV data files. Assumes the CSV data files describe a two-agent convoy scenario.

usage: test_ad.py [-h] [--processor-count PROCESSOR_COUNT] [--verbose] [--max-time-lag MAX_TIME_LAG] [--sig-level SIG_LEVEL] method dataset variable

Parameters:

  • method: Method to evaluate.
  • dataset: Dataset folder under the "data" directory to acquire CSV data files from.
  • variable: Sub-dataset to use under the dataset directory. Determines the variable of interest for each agent captured in the CSV data files.
  • -h: Displays the help message for the script.
  • --processor-count: Specifies the maximum number of processors to use. Only usable with methods which do not rely upon using an intermediary output file due to race condition risks.
  • --verbose: Dictates that output should be verbose.
  • --max-time-lag: Specifies the maximum time lag parameter for the selected method.
  • --sig-level: Specifies the significance alpha parameter for the selected method.

Run All AD Tests

Evaluates all methods, across all datasets and sub-datasets for a given set of parameters. Primarily useful for setting off batch jobs.

usage: [SKIP_TO_METHOD=?] [OVERRIDE_METHODS=?] [OVERRIDE_DATASETS=?] [OVERRIDE_VARIABLES=?] ./run_all_ad_tests.sh

Parameters:

  • SKIP_TO_METHOD: Any methods listed before the specified method in the script will be skipped.
  • OVERRIDE_METHODS: Completely overrides the methods to evaluate listed in the script.
  • OVERRIDE_DATASETS: Completely overrides the datasets to evaluate upon listed in the script.
  • OVERRIDE_VARIABLES: Completely overrides the variables/sub-datasets to evaluate upon listed in the script.

About

Tools for evaluating the performance of causal discovery methods for time series data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.4%
  • MATLAB 19.4%
  • R 11.1%
  • Jupyter Notebook 4.6%
  • Python 4.3%
  • Shell 0.1%
  • Other 0.1%