Warum dieser Fehler: AttributeError: 'DMatrix' object has no attribute 'feature_names'
, genauso wie plot_importance
Python 2.7
Ubuntu 14.04 LTS
Angenommen, Sie haben so etwas wie:
import xgboost as xgb
gbdt = xgb.train(...)
feature_names
ist ein Attribut von gbdtplot_importance
ist eine Funktion innerhalb von xgb@Far0n Danke! Ich habe es schon gelöst, aber danke nochmal für deine Hilfe.
Wie?
Hilfreichster Kommentar
Wie?