关于xgboost中feature_importances_和xgb.plot_importance不匹配的问题
from xgboost import plot_importance
plot_importance(model,max_num_features=10,importance_type='gain')
from xgboost import plot_importance
plot_importance(model,max_num_features=10,importance_type='gain')