Skip to content

Instantly share code, notes, and snippets.

@sgsg704
Created September 9, 2021 14:46
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 sgsg704/118e6de040ef907c3bc4bcf72b2e00ba to your computer and use it in GitHub Desktop.
Save sgsg704/118e6de040ef907c3bc4bcf72b2e00ba to your computer and use it in GitHub Desktop.
# Predicting the test set results
y_pred = model.predict(X_test)
y_pred = (y_pred > 0.5)
np.set_printoptions()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment