Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/b22a13ddf55806815be6beb4610e5348 to your computer and use it in GitHub Desktop.
Save Tathagatd96/b22a13ddf55806815be6beb4610e5348 to your computer and use it in GitHub Desktop.
trees_dump = bst.get_dump(fmap = "C:\\Users\\tatha\\.spyder-py3\\featmap.txt", with_stats = True)
for trees in trees_dump:
print(trees)
xgb.plot_importance(bst, importance_type = 'gain', xlabel = 'Gain')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment