Open Wensi-Tang opened 4 years ago
the acc is calculated as: ACC = (TP + TN) / (TP + FP + FN + TN) ACC_macro = np.mean(ACC)
Which mean the if y_true = [0, 1, 2] y_predict = [0, 0, 0]
the accuracy for class 0 is 33.3% the accuracy for class 1 is 66.6% the accuracy for class 2 is 66.6%
Could you please give some reference for the correctness of this calculation?
the acc is calculated as: ACC = (TP + TN) / (TP + FP + FN + TN) ACC_macro = np.mean(ACC)
Which mean the if y_true = [0, 1, 2] y_predict = [0, 0, 0]
the accuracy for class 0 is 33.3% the accuracy for class 1 is 66.6% the accuracy for class 2 is 66.6%
Could you please give some reference for the correctness of this calculation?