Created
June 24, 2021 16:07
-
-
Save Devanshchowdhury2212/101a02735232048825721df89c99dd2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sample_pred = (model.predict(X_test_transformed_seq[:5])>.5).astype(int) | |
sample_text = X_test[:5] | |
truth = y_test[:5] | |
display(pd.DataFrame(zip(sample_pred,sample_text,truth),columns=['Model Predictions','TEXT','Truth Label'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment