thomasp85 / lime

Local Interpretable Model-Agnostic Explanations (R port of original Python package)
https://lime.data-imaginist.com/
Other
486 stars 110 forks source link

Dealing with multiple output regression keras model #174

Open MichaelPeibo opened 4 years ago

MichaelPeibo commented 4 years ago

Hi, I am trying to make simple explaination between my input variables and 5 output variables. It seems lime has not a function dealing with it.

From this issue, @ scworland has proposed a strategy by tweaking explain functions, but I cannot get through with it due to glmnet step

Error in if (nulldev == 0) stop("y is constant; gaussian glmnet fails at standardization step") : missing value where TRUE/FALSE needed

I wonder if I can bulid 5 regression models, then explain them one by one? Does it sound reasonable?