DkuXGBRegressor to XGBRegressor

Options
John_Kelly
John_Kelly Registered Posts: 16 ✭✭✭✭

Is there a simple way to convert a DkuXGBRegressor instance to an XGBRegressor instance?

I'm trying to use the model in SHAP (https://shap.readthedocs.io/en/latest/#), but of course get the error: Model type not yet supported by TreeExplainer: <class 'dataiku.doctor.prediction.dku_xgboost.DkuXGBRegressor'>.

The XGBRegressor model is supported in SHAP, though.

Best Answer

Answers

Setup Info
    Tags
      Help me…