Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dump_list=xg_clas.get_booster().get_dump()
- num_t=len(dump_list)
- print("Number of Trees=",num_t)
- xgb.plot_tree(xg_clas, num_trees=0)
- plt.rcParams['figure.figsize']=[50, 10]
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement