xgbClassifier特徵圖不能正常顯示feature names

xgboost使用的時候經常想看一看特徵的重要程度, 結果 from xgboost import plot_importance from matplotlib import pyplot import pickle # load model from file model = pickle.load(open("xgbmodel/xgb-model-0927", "rb")) # plot
相關文章
相關標籤/搜索