摘要: 1.输出XGBoost特征的重要性from matplotlib import pyplotpyplot.bar(range(len(model_XGB.feature_importances_)), model_XGB.feature_importances_)pyplot.show()XGBoost 特征重要性绘图也可以使用XGBoost内置的特征重要性绘图函数# plot feature i... 阅读全文
posted @ 2018-08-26 10:27 Jean_V 阅读(17387) 评论(0) 推荐(0) 编辑