-
According the docs of the explain_function, it is only possible to pass a 2-dimensional array with shape (1, n_features). Is there a way to pass an array with the shape (n, n_features)? If not, would you just run the explain function in a loop to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@Bar-Kal, hi good point. Yes for this we have the Does this help you? |
Beta Was this translation helpful? Give feedback.
@Bar-Kal, hi good point. Yes for this we have the
Explainer.explain_X
function. This basically is a wrapper around the explain function with some additional suppport for parallelization via joblib. We opted to split this from the main explain function such that users are not surprised when they get a list back as a return type and not a single InteractionValues as from the basic explain function.Does this help you?