Guest User

Untitled

a guest
Dec 13th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. doc_num = 2
  2. print('Actual Label:', y_test[doc_num])
  3. print('Predicted Label:', predictions[doc_num])
  4. exp.explain_instance(X_test.iloc[doc_num].values, xgc_np.predict_proba).show_in_notebook()
Add Comment
Please, Sign In to add comment