Skip to content
Snippets Groups Projects
Commit 47b61c37 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Minor hamming loss bug fix

parent 7fb76c8d
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ def score(y_true, y_pred, multiclass=False, **kwargs): ...@@ -11,7 +11,7 @@ def score(y_true, y_pred, multiclass=False, **kwargs):
classes = kwargs["0"] classes = kwargs["0"]
except: except:
classes = None classes = None
score = metric(y_true, y_pred, classes=classes) score = metric(y_true, y_pred)
return score return score
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment