If there is data in toy-data folder, there is no need to download data.
sh ./recipe/setup.sh
Notes 1. Due to weiredness of Numba, a specific python version (3.7) is needed: #SEE: numba/numba#5156
sh ./recipe/run.sh
Once get all results in ./output
All figures in the paper were painted in:
./src/precision-recall.py
The figures/results should be reproduced. Cheers!
baseline-darpa:
./out/dataset_darpa-initSS_256-timeStep_60/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph-True_precision_recall_score
khop1-darpa:
./out/dataset_darpa-initSS_256-timeStep_60_subgraph_pattern_khop/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph_True-hop_k_1-strategy_mean_precision_recall_score
khop2-darpa:
./out/dataset_darpa-initSS_256-timeStep_60_subgraph_pattern_khop/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph_True-hop_k_2-strategy_mean_precision_recall_score
khop3-darpa:
./out/dataset_darpa-initSS_256-timeStep_60_subgraph_pattern_khop/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph_True-hop_k_3-strategy_mean_precision_recall_score
1-hop TC-darpa:
./out/dataset_darpa-initSS_256-timeStep_60_subgraph_pattern_triangle/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph_True-hop_k_1-strategy_mean_precision_recall_score
Hybrid TC-darpa:
./out/dataset_darpa-initSS_256-timeStep_60_subgraph_pattern_strong-all/
DynAnomPy-alpha_1.50e-01-epsilon_1.00e-02-track_mode_all-dim-1024-top_index_100-push_threshold-1.00e-04-make_directed_graph_False-make_multi_graph_True-hop_k_1-strategy_mean_precision_recall_score