pyreal icon indicating copy to clipboard operation
pyreal copied to clipboard

Allow shap explainers to support uncallable models

Open zyteka opened this issue 2 years ago • 0 comments

Currently, shap does not work on models that aren't callable (ie, calling the model directly makes predictions). Pyreal, however, only requires models to have .predict() functions. We can fix this by automatically choosing a KernelShap when the model isn't callable.

zyteka avatar Feb 06 '23 21:02 zyteka