Created
March 30, 2016 15:29
-
-
Save sriyoda/648efc4357387344c1823119b0215fad 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
# feature importance plot | |
xgb.plot.importance(importance_matrix[1:10,]) | |
bst <- xgb.train(data=dtrain, max.depth=5.5, eta=.02, nthread = 2, nround=5, watchlist=watchlist, objective = "binary:logistic") | |
xgb.dump(bst, with.stats = T) | |
xgb.plot.tree(model = bst) | |
importance_matrix <- xgb.importance(model = bst) | |
xgb.plot.importance(importance_matrix = importance_matrix) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment