evidently icon indicating copy to clipboard operation
evidently copied to clipboard

TestF1Score by class

Open danilyef opened this issue 1 year ago • 1 comments

Hello dear evidently Team!

I would like to request the possibility to add TestF1Score by class option, if it possible. This is done for Precision and Recall already, but not for F1-Score. Ideally would be nice to have option to chose which f1-score strategy to use ('micro-average','macro-average' etc. Reference: https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) Many thanks.

danilyef avatar Jul 10 '23 16:07 danilyef

Hi @danilyef, thanks for the feature request!

We currently have:

  • TestF1ByClass(label='classN')
  • TestF1Score()

So it is already possible to test F1 by class.

To double-check, you also would like to have a micro/macro parameter for the TestF1Score(), correct?

elenasamuylova avatar Jul 13 '23 15:07 elenasamuylova