Created
November 30, 2022 15:26
-
-
Save liannewriting/856e1956b639f043c7ad27ed82ce372f to your computer and use it in GitHub Desktop.
xgboost python machine learning
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
from xgboost import plot_importance | |
xgboost_step = opt.best_estimator_.steps[1] | |
xgboost_model = xgboost_step[1] | |
plot_importance(xgboost_model) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment