No it is the macro average of the per-class f1, i.e. an arithmetic mean
over harmonic means of P & R per class
On Fri., 29 Mar. 2019, 9:53 am Max Halford, wrote:
> Hey everyone,
>
> I've stumbled upon an inconsistency with the F1 score and I can't seem to
> get around it. I have two lists y_true
Hey everyone,
I've stumbled upon an inconsistency with the F1 score and I can't seem to
get around it. I have two lists y_true = [0, 1, 2, 2, 2] and y_pred = [0,
0, 2, 2, 1]. sklearn tells me that the macro-averaged F1 score is
0.48... If I understand correctly the macro-average F1 score is th