Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Created November 30, 2022 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liannewriting/856e1956b639f043c7ad27ed82ce372f to your computer and use it in GitHub Desktop.
Save liannewriting/856e1956b639f043c7ad27ed82ce372f to your computer and use it in GitHub Desktop.
xgboost python machine learning
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