Skip to content

Instantly share code, notes, and snippets.

@fclesio
Created January 13, 2020 16:29
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 fclesio/257db527d6c6960b8fa9c54fb6287421 to your computer and use it in GitHub Desktop.
Save fclesio/257db527d6c6960b8fa9c54fb6287421 to your computer and use it in GitHub Desktop.
# Load model from Pickle
model_rf_reload_pkl = pickle.load(open(‘model_rf.pkl’, ‘rb’))
# Displays prediction classes
model_rf_reload_pkl.classes_
# >>> array([0, 1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment