Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# make the predictions
random_search_predictions = random_search.predict(X_test)
# construct the confusion matrix
confusion_matrix = confusion_matrix(y_test, random_search_predictions)
# visualize the confusion matrix
confusion_matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment