-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathreproducibility_generate_pdf.sh
46 lines (35 loc) · 2.92 KB
/
reproducibility_generate_pdf.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# generate end-to-end tables
python3 scripts/experiments/end_to_end/plot_end_to_end_table.py --mode necessary --save True && \
python3 scripts/experiments/end_to_end/plot_end_to_end_table.py --mode sufficient --save True && \
# generate end-to-end explanation length plots
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode necessary --model ComplEx --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode necessary --model ConvE --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode necessary --model TransE --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode sufficient --model ComplEx --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode sufficient --model ConvE --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths.py --mode sufficient --model TransE --save True && \
# generate end-to-end explanation length tables
python3 scripts/experiments/end_to_end/plot_explanation_lengths_table.py --mode necessary --save True && \
python3 scripts/experiments/end_to_end/plot_explanation_lengths_table.py --mode sufficient --save True && \
# generate average explanation extraction times plots
python3 scripts/experiments/extraction_times/plot_extraction_times.py --mode necessary --save True && \
python3 scripts/experiments/extraction_times/plot_extraction_times.py --mode sufficient --save True && \
# generate extraction times comparison with prefilter and without prefilter
python3 scripts/experiments/extraction_times/plot_prefilter_vs_noprefilter_extraction_times.py --save True && \
# generate minimality experiment tables
python3 scripts/experiments/explanation_minimality/plot_minimality_table.py --mode necessary --save True && \
python3 scripts/experiments/explanation_minimality/plot_minimality_table.py --mode sufficient --save True && \
# generate xsi threshold comparison table
python3 scripts/experiments/necessary_xsi_threshold/plot_xsi_threshold_comparison_table.py --save True && \
# generate prefilter k threshold comparison tables
python3 scripts/experiments/prefilter_threshold/plot_prefilter_threshold_comparison_table.py --mode necessary --save True && \
python3 scripts/experiments/prefilter_threshold/plot_prefilter_threshold_comparison_table.py --mode sufficient --save True && \
# generate prefilter type comparison tables
python3 scripts/experiments/prefilter_type/plot_prefilter_type_comparison_table.py --mode necessary --save True && \
python3 scripts/experiments/prefilter_type/plot_prefilter_type_comparison_table.py --mode sufficient --save True && \
# generate SHAP - Kelpie comparison plot
python3 scripts/experiments/shap_kelpie_comparison/plot_shap_kelpie_comparison.py --save True && \
# generate user study plot
python3 scripts/experiments/user_study/plot_user_study.py --save True && \
# generate the PDF file
python3 generate_pdf_report.py