To reproduce the synthetic experiments use the script provided under experiment_scripts/ 

Call script the the following order: 
To reproduce the synthetic experiments use the script provided under experiment_scripts/ 
> experiment_scripts/\<EXPERIMENT NAME\>_gen_data.sh \
> experiment_scripts/<EXPERIMENT NAME\>\_run\_\<METHOD NAME\>.sh

e.g.
> experiment_scripts/inc_collition_gen_data.sh \
> experiment_scripts/inc_collition_run_cascade.sh

For evaluation we provide the `run_eval.py` script 
e.g.
> python -m experiment_scripts.run_eval -methods cascade -experiments inc_event_types 

To run CASCADE on real-world /  other datasets

> python -m main -alarms $DATA -output $OUTPUT -topology "all-in-one"

$OUTPUT will be numpy file, containing a binary matrix representing the causal graph\
$OUTPUT.aligned.csv gives the matching, i.e. the cause for each individual event 

The DATA must be give as a csv file with the columns 
>  alarm_id,device_id,start_timestamp

where `alarm_id` is an integer for the event type, `device_id` can be set to zero for all entries and `start_timestamp` is the integer timestamp of the event. 