y_pred = clf.predict(X_train) print(accuracy_score(y_train, y_pred)) You should probably fix that in the ANN solution from folder 6