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

Bug for extracting distribution of explainer #161

Open pkopper opened 5 years ago

pkopper commented 5 years ago

When setting bin_continuous = FALSE and use_density = TRUE an error is thrown. This is because elements of the distribution are extracted which do not exist. The mean and the standard deviation must be extracted in a different manner when features are scaled. I proposed a fix in #160.