Replace the second ‘x’ in the for loop with capital ‘X’
for x in X:
Also, in the 5th line of the shared snippet, specify the first argument to accuracy_score as ‘Y_pred_binarised_train’
Replace the second ‘x’ in the for loop with capital ‘X’
for x in X:
Also, in the 5th line of the shared snippet, specify the first argument to accuracy_score as ‘Y_pred_binarised_train’