-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
I have fitted an xgboost model.
Use of the object and its fit field in explain() function of DALEX is not possible.
xgb= boost_tree(mode = "regression") %>%
set_engine(engine = "xgboost") %>%
fit(formula = mpg ~ ., mtcars)
expl= explain(xgb, data = mtcars, y = mtcars$mpg)
variable_importance(expl)
[Error in xgb.DMatrix(newdata, missing = missing) :
xgb.DMatrix does not support construction from list](url)
expl= explain(xgb$fit, data = mtcars, y = mtcars$mpg)
variable_importance(expl)
Error in xgb.DMatrix(newdata, missing = missing) :
xgb.DMatrix does not support construction from list
Any tips to achieve interop?
Metadata
Metadata
Assignees
Labels
No labels