Skip to content

Instantly share code, notes, and snippets.

@oscar-defelice
Created November 4, 2020 08:30
Show Gist options
  • Save oscar-defelice/6997c4b999769c3663c98bb521c5dbef to your computer and use it in GitHub Desktop.
Save oscar-defelice/6997c4b999769c3663c98bb521c5dbef to your computer and use it in GitHub Desktop.
y_pred = to_categorical(np.argmax(keras_model.predict(tokenised_text_test), axis=1))
print(classification_report(y_test, y_pred, target_names=labels.values(), digits=4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment