Created
July 28, 2019 03:21
-
-
Save Tathagatd96/b22a13ddf55806815be6beb4610e5348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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