1from sklearn.metrics import classification_report
2
3target_names = ['first_value_y','second_value_y'] # target values
4
5# Print classification report after a train/test split:
6print(classification_report(y_test, y_pred, target_names=target_names))