Guest User

Untitled

a guest
Jul 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import pickle
  2. filename = 'model.pickle'
  3. loaded_model = pickle.load(open(filename, 'rb'))
  4. print(type(loaded_model))
  5.  
  6. <class 'xgboost.sklearn.XGBClassifier'>
  7.  
  8. result = loaded_model.score(X_test, y_test)
Add Comment
Please, Sign In to add comment