Explain Tidymodels

Hi,

I've been able to successfully use most of the functions in DALEXtra::explain_tidymodels https://ema.drwhy.ai/ , to explain my learned tidymodels, however, I've encountered an error which I'm trying to trace without success.

The explainer uses the DALEX explain_tidymodels. When I pass my classification model workflow into predict_parts, predict_profile and model profile I get results. When I pass the same into model_parts, model_performance and model_diagnostics I get the following error:

Error in y - predict_function(model, data) :
non-numeric argument to binary operator

Any suggestions on where or how to look for resolution?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.