Skip to content

Instantly share code, notes, and snippets.

@amandaiglesiasmoreno
Created November 22, 2021 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandaiglesiasmoreno/aa1029a07f93a97ad62608cfda0ce736 to your computer and use it in GitHub Desktop.
Save amandaiglesiasmoreno/aa1029a07f93a97ad62608cfda0ce736 to your computer and use it in GitHub Desktop.
# 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