# Tag Info

2

1) Your code : Expected inputs for confusion matrix sklearn.metrics.confusion_matrix expect $y_{pred}$ and $y_{true}$ to be $(n\_samples,)$ shape. : y_true array-like of shape (n_samples,) Ground truth (correct) target values. y_pred array-like of shape (n_samples,) Estimated targets as returned by a classifier. Results of argmax on your ...

Only top voted, non community-wiki answers of a minimum length are eligible