-
Notifications
You must be signed in to change notification settings - Fork 0
/
replicate.sh
42 lines (29 loc) · 1.87 KB
/
replicate.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
#----------------------------------------#
# CLASSIFICATION
#----------------------------------------#
# happy vs sad
python user_lift.py -mo features/features_mo_ew* -mu features/features_mu_ew* -mw features/features_mw_ew* -o acc
# happy vs sad vs neutral
python user_lift.py -mo features/features_mo_ew* -mu features/features_mu_ew* -mw features/features_mw_ew* -o neutral --neutral
# hold out one user
python lift_leave_one_user_out.py -mo features/features_mo_ew* -mu features/features_mu_ew* -mw features/features_mw_ew* -o loov_user
# hold out emotion
python lift_holdout_emotion.py -mo features/features_mo_ew* -mu features/features_mu_ew* -mw features/features_mw_ew* -o holdout
#----------------------------------------#
# BOXPLOTS
#----------------------------------------#
python boxplot.py -mo mo_lift_scores_acc.yaml -mu mu_lift_scores_acc.yaml -mw mw_lift_scores_acc.yaml -o fig2
# improvement over baseline
python error_plot.py -mo mo_lift_scores_acc.yaml -mu mu_lift_scores_acc.yaml -mw mw_lift_scores_acc.yaml -o fig3
python boxplot.py -mo mo_lift_scores_neutral.yaml -mu mu_lift_scores_neutral.yaml -mw mw_lift_scores_neutral.yaml -o fig4
python boxplot.py -mo mo_lift_scores_holdout.yaml -mu mu_lift_scores_holdout.yaml -mw mw_lift_scores_holdout.yaml -o fig5
#----------------------------------------#
# PERMUTATION TEST
#----------------------------------------#
python permute_test.py -mo mo_lift_scores_loov_user.yaml -mu mu_lift_scores_loov_user.yaml -mw mw_lift_scores_loov_user.yaml
# all features
python permute_test.py -mo mo_lift_scores_acc.yaml -mu mu_lift_scores_acc.yaml -mw mw_lift_scores_acc.yaml
# neutral
python permute_test.py -mo mo_lift_scores_neutral.yaml -mu mu_lift_scores_neutral.yaml -mw mw_lift_scores_neutral.yaml
# emotion holdout
python permute_test.py -mo mo_lift_scores_holdout.yaml -mu mu_lift_scores_holdout.yaml -mw mw_lift_scores_holdout.yaml