work around for AUROC metrics error ValueError: No positive samples in targets, true positive value should be meaningless
during sanity check or dev runs?
#581
-
I have a multi-label problem with a rare class, I want to use AUROC metric to generate per-class metrics. I get |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @jmerkow, |
Beta Was this translation helpful? Give feedback.
Hi @jmerkow,
Thanks for asking this question. Because of your feedback and many others, we decided on changing this behaviour in this PR #583. Instead you should only get an warning, and in the case of AUROC it will return a score when either the positive or negative class is completely missing.