5 views
Problem: The following code from sklearn import metrics import numpy as np y_true = np.array([[0.2,0.8,0],[0.9,0.05,0.05]]) y_predict = np.array([[0.5,0.5,0.0],[0.5,0.4,0.1]]) metrics.log_loss(y_true, y_predict) produces the ... not supported with label binarization I am curious why. I am trying to re-read definition of log loss and cannot find anything that would make computations incorrect.

asked
5 days ago
muktaa
34.4k points