Feature importance not support for booster type "dart"


After I upgraded my xgboost version 0.8 to 0.81, I realized that get_score raises if the booster type != “gbtree” in the python package.
Is there a reason why booster type “dart” is now not supported? The feature importance/get_score should still function the same for dart as it is for gbtree right?


@sanjeet Looks like it’s an oversight on my part. I filed https://github.com/dmlc/xgboost/issues/4065, will come back to it some time.