multilabel-indicator is not supported
is the error message that I get when I try to run:
confusion_matrix(y_test, predictions)
y_test
is DataFrame
of the form:
Horse | Dog | Cat
1 0 0
0 1 0
0 1 0
... ... ...
predictions
is numpy array
:
[[1, 0, 0],
[0, 1, 0],
[0, 1, 0]]
I was looking a bit for an error message, but actually did not find what I could apply. Any clues?
source
share