Why this error: AttributeError: 'DMatrix' object has no attribute 'feature_names'
, same with plot_importance
python 2.7
Ubuntu 14.04 LTS
Suppose you have somthing like:
import xgboost as xgb
gbdt = xgb.train(...)
feature_names
is an attribute of gbdtplot_importance
is a function within xgb@Far0n Thank you! I already solved it, but thanks again for your help.
How?
Most helpful comment
How?