Skip to content

Instantly share code, notes, and snippets.

@AmrutaKoshe
Created June 25, 2021 17:20
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 AmrutaKoshe/c1c129660b809d0553df609f8d40c7cd to your computer and use it in GitHub Desktop.
Save AmrutaKoshe/c1c129660b809d0553df609f8d40c7cd to your computer and use it in GitHub Desktop.
Make predictions
# let's create an array containing the previous three examples to predict and use our model to get predictions
to_predict = [test_feature_padded[3],test_feature_padded[8],test_feature_padded[17]]
prediction = model.predict_classes(np.array(to_predict))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment