Closed liyunlongaaa closed 2 years ago
Hi there,
As commented above the line, accuracy is not a class-wise metric (i.e., it is not a one vs all accuracy). All classes have the same accuracy value, so taking the mean should lead to the same value.
-Yuan
oh I see, thank you!
for val_acc = stats[0]['acc'] ,I can't understand why only the accuracy of the first class is taken, can this also explain the problem, will it be more convincing to choose the mean of all classes?