์ด ์ค๋ฅ๊ฐ ๋ฐ์ํ ์ด์ : AttributeError: 'DMatrix' object has no attribute 'feature_names'
, plot_importance
์ ๋์ผ
ํ์ด์ฌ 2.7
์ฐ๋ถํฌ 14.04 LTS
๋ค์๊ณผ ๊ฐ์ ๊ฒ์ด ์๋ค๊ณ ๊ฐ์ ํฉ๋๋ค.
import xgboost as xgb
gbdt = xgb.train(...)
feature_names
๋ gbdt ์ ์์ฑ์
๋๋ค plot_importance
๋ xgb ๋ด์ ํจ์์
๋๋ค @Far0n ๊ฐ์ฌํฉ๋๋ค! ์ด๋ฏธ ํด๊ฒฐํ์ง๋ง ๋ค์ ํ ๋ฒ ๋์์ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค.
์ด๋ป๊ฒ?
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ด๋ป๊ฒ?