daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. doc_num = 0
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top