![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模型
!!!!永无止境!!!!
勤
展开
-
【Xgboost的plot_importance和feature_importance的计算方法,两个方式的特征排序不一样】
用xgboost的XGBRegressor,最后获取feature importance时,发现plot_importance和feature_importance_得到的feature排名不一样。原来,plot_importance默认的importance_type='weight',而feature_importance_默认的importance_type='gain',把plot_importance的importance_type换成gain就是一样了那么,xgboost里面的featu转载 2022-03-04 09:47:23 · 2497 阅读 · 2 评论 -
基于python的XGBoost模型建立和调参
竞赛常用的XGB模型代码示例原创 2021-12-31 16:21:35 · 1739 阅读 · 0 评论