You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the multi-class case, precision, recall and f-score with micro all produce accuracy, while with samples they produce an error.
That seem inconsistent. Using the definitions in the docs, they should also all be accuracy, I think.
I think I'd propose to deprecate micro averaging for multiclass.
The docs actually give an example of micro-average recall for multiclass, which is really weird imho.
The text was updated successfully, but these errors were encountered:
Wording could be clearer, but the intention there is that using multiclass with a majority class ignored (labels=np.setdiff1d(classes_, 'default class') will return something other than accuracy. I think it is hard to deprecate because of how it is used in classification_report and elsewhere.
For the multi-class case, precision, recall and f-score with
micro
all produce accuracy, while withsamples
they produce an error.That seem inconsistent. Using the definitions in the docs, they should also all be accuracy, I think.
I think I'd propose to deprecate
micro
averaging for multiclass.The docs actually give an example of micro-average recall for multiclass, which is really weird imho.
The text was updated successfully, but these errors were encountered: