jimmyjbling / Smorgasbord

1 stars 0 forks source link

Confusion matrix from identical y_true and y_pred doesn't behave #1

Closed joshhochuli closed 2 years ago

joshhochuli commented 2 years ago

from sklearn.metrics import confusion_matrix y = [0,0,0] confusion_matrix(y,y)

returns: array([[3]])

add check for identical y_true and y_pred to all stat calculations?