Skip to content

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

Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SkafteNicki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants