Guest User

Untitled

a guest
Dec 13th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. doc_num = 2
  2. print('Actual Label:', y_test[doc_num])
  3. print('Predicted Label:', predictions[doc_num])
  4. eli5.show_prediction(xgc.get_booster(), X_test.iloc[doc_num],
  5. feature_names=list(data.columns),
  6. show_feature_values=True)
Add Comment
Please, Sign In to add comment