- 1
its urgent plz help
Data Science - Binary Disorder Confusion matrix of binary classification. For binary classifications, a confusion matrix is a I didnt get i have tried it like this y_true = [int(x) for x in input().split()] y_pred = [int(x) for x in input().split()] from sklearn.metrics import confusion_matrix from numpy as np y_pred = np.array(y_pred).reshape(-1 , 1) print(confusion_matrix(y_true, y_pred))
1 Odpowiedź
+ 6
Change
from numpy as np
to
import numpy as np