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
Describe the bug
We have a dataset for a multiclass classification problem. When estimating accuracy using CBPE the results are different depending on the label values being used.
Replacing the string valued labels by integer values does yields different, correct results.
Describe the bug
We have a dataset for a multiclass classification problem. When estimating accuracy using CBPE the results are different depending on the label values being used.
Replacing the string valued labels by integer values does yields different, correct results.
To Reproduce
This code will not fail but contain incorrect values for
accuracy
.The correct results are given when replacing the labels in
y_true
andy_pred
with integers:Expected behavior
Running both snippets of code (with and without replacing label values) should yield the same results.
The text was updated successfully, but these errors were encountered: