Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- total_corrects_normal_loss = 33 + 43 + 36 + 46 + 36 + 44 + 45 + 38 + 40 + 33
- totals = 91 + 90 + 89 + 87 + 86 + 86 + 85 + 84 + 83 + 83
- c1_corr_normal_loss = 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
- c1_tot = 3 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2
- c2_corr_normal_loss = 5 + 5 + 4 + 3 + 4 + 7 + 8 + 4 + 5 + 0
- c2_tot = 14 + 14 + 14 + 14 + 14 + 14 + 13 + 13 + 13 + 13
- c3_corr_normal_loss = 17 + 23 + 19 + 21 + 20 + 20 + 17 + 23 + 20 + 20
- c3_tot = 26 + 26 + 26 + 26 + 26 + 26 + 26 + 26 + 26 + 26
- c4_corr_normal_loss = 0 + 1 + 1 + 4 + 1 + 2 + 1 + 1 + 0 + 0
- c4_tot = 5 + 5 + 5 + 5 + 4 + 4 + 4 + 4 + 4 + 4
- c5_corr_normal_loss = 1 + 2 + 3 + 3 + 4 + 1 + 3 + 1 + 1 + 0
- c5_tot = 11 + 11 + 11 + 10 + 10 + 10 + 10 + 10 + 10 + 10
- c6_corr_normal_loss = 4 + 3 + 3 + 3 + 1 + 3 + 3 + 1 + 2 + 1
- c6_tot = 6 + 6 + 6 + 6 + 6 + 6 + 6 + 5 + 5 + 5
- c7_corr_normal_loss = 5 + 4 + 6 + 10 + 3 + 10 + 10 + 8 + 10 + 10
- c7_tot = 16 + 16 + 15 + 15 + 15 + 15 + 15 + 15 + 15 + 15
- c8_corr_normal_loss = 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
- c8_tot = 3 + 3 + 3 + 3 + 3 + 3 + 3 + 3 + 2 + 2
- c9_corr_normal_loss = 1 + 5 + 0 + 2 + 3 + 1 + 3 + 0 + 2 + 2
- c9_tot = 7 + 7 + 7 + 6 + 6 + 6 + 6 + 6 + 6 + 6
- acc1_normal = c1_corr_normal_loss / c1_tot
- acc2_normal = c2_corr_normal_loss / c2_tot
- acc3_normal = c3_corr_normal_loss / c3_tot
- acc4_normal = c4_corr_normal_loss / c4_tot
- acc5_normal = c5_corr_normal_loss / c5_tot
- acc6_normal = c6_corr_normal_loss / c6_tot
- acc7_normal = c7_corr_normal_loss / c7_tot
- acc8_normal = c8_corr_normal_loss / c8_tot
- acc9_normal = c9_corr_normal_loss / c9_tot
- acc_normal = total_corrects_normal_loss / totals
- print('acc class 1 normal {:.3f} '.format(acc1_normal*100))
- print('acc class 2 normal {:.3f}'.format(acc2_normal*100))
- print('acc class 3 normal {:.3f}'.format(acc3_normal*100))
- print('acc class 4 normal {:.3f}'.format(acc4_normal*100))
- print('acc class 5 normal {:.3f}'.format(acc5_normal*100))
- print('acc class 6 normal {:.3f}'.format(acc6_normal*100))
- print('acc class 7 normal {:.3f}'.format(acc7_normal*100))
- print('acc class 8 normal {:.3f}'.format(acc8_normal*100))
- print('acc class 9 normal {:.3f}'.format(acc9_normal*100))
- print('total acc normal {:.3f}'.format(acc_normal*100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement