print("=== test on script ===")df_tmp=pd.concat((df_imc22_table_test_script,df_ours_script),axis=1)df_tmp.loc["mean_diff",:]=np.nandf_tmp.loc["mean_diff",("ours",32,"mean")]=((df_tmp[("ours",32,"mean")]-df_tmp[("imc22-paper","32","mean")]).mean().round(2))df_tmp.loc["mean_diff",("ours",64,"mean")]=((df_tmp[("ours",64,"mean")]-df_tmp[("imc22-paper","64","mean")]).mean().round(2))df_tmp.loc["mean_diff",("ours",1500,"mean")]=((df_tmp[("ours",1500,"mean")]-df_tmp[("imc22-paper","1500","mean")]).mean().round(2))display(df_tmp.fillna(""))df_tmp.fillna("").to_csv("table3_ucdavis-icdm19_comparing_data_augmentations_functions_test_on_script.csv")
=== test on script ===
imc22-paper
ours
32
64
1500
32
64
1500
mean
mean
mean
mean
ci95
mean
ci95
mean
ci95
aug_name
No augmentation
98.67
99.1
96.22
95.64
0.37
95.87
0.29
94.93
0.72
Rotate
98.6
98.87
94.89
96.31
0.44
96.93
0.46
95.69
0.39
Horizontal flip
98.93
99.27
97.33
95.47
0.45
96.00
0.59
94.89
0.79
Color jitter
96.73
96.4
94.0
97.56
0.55
97.16
0.62
94.93
0.68
Packet loss
98.73
99.6
96.22
96.89
0.52
96.84
0.63
95.96
0.51
Time shift
99.13
99.53
97.56
96.71
0.6
97.16
0.49
96.89
0.27
Change rtt
99.4
100.0
98.44
97.29
0.35
97.02
0.46
96.93
0.31
mean_diff
-2.05
-2.26
-0.63
print("=== test on human ===")df_tmp=pd.concat((df_imc22_table_test_human,df_ours_human),axis=1)df_tmp.loc["mean_diff",:]=np.nandf_tmp.loc["mean_diff",("ours",32,"mean")]=((df_tmp[("ours",32,"mean")]-df_tmp[("imc22-paper","32","mean")]).mean().round(2))df_tmp.loc["mean_diff",("ours",64,"mean")]=((df_tmp[("ours",64,"mean")]-df_tmp[("imc22-paper","64","mean")]).mean().round(2))df_tmp.loc["mean_diff",("ours",1500,"mean")]=((df_tmp[("ours",1500,"mean")]-df_tmp[("imc22-paper","1500","mean")]).mean().round(2))display(df_tmp.fillna(""))df_tmp.fillna("").to_csv("table3_ucdavis-icdm19_comparing_data_augmentations_functions_test_on_human.csv")
=== test on human ===
imc22-paper
ours
32
64
1500
32
64
1500
mean
mean
mean
mean
ci95
mean
ci95
mean
ci95
aug_name
No augmentation
92.4
85.6
73.3
68.84
1.45
69.08
1.35
69.32
1.63
Rotate
93.73
87.07
77.3
71.65
1.98
71.08
1.51
68.19
0.97
Horizontal flip
94.67
79.33
87.9
69.40
1.63
70.52
2.03
73.90
1.06
Color jitter
82.93
74.93
68.0
68.43
2.82
70.20
1.99
69.08
1.72
Packet loss
90.93
85.6
84.0
70.68
1.35
71.33
1.45
71.08
1.13
Time shift
92.8
87.33
77.3
70.36
1.63
71.89
1.59
71.08
1.33
Change rtt
96.4
88.6
90.7
70.76
1.99
71.49
1.59
71.97
1.08
mean_diff
-21.96
-13.27
-9.13
print("=== test on leftover ===")display(df_ours_leftover)df_ours_leftover.to_csv("table3_ucdavis-icdm19_comparing_data_augmentations_functions_test_on_leftover.csv")