Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[MRG] Fix sklearn.metrics.classification._check_targets where y_true and y_pred are both binary but the union is multiclass #8377
Fix part of #8098.
What does this implement/fix? Explain your changes.
In the case where both
Any other comments?
I saw #8094 and thought that it was too many different things as once. This is an attempt of making it do one less thing.
@@ Coverage Diff @@ ## master #8377 +/- ## ========================================== + Coverage 94.75% 94.75% +<.01% ========================================== Files 342 342 Lines 60902 60911 +9 ========================================== + Hits 57708 57717 +9 Misses 3194 3194