thomasp85 / lime

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

Adding Feature importance to gower_dist #162

Open NienkeVanTKlooster opened 5 years ago

NienkeVanTKlooster commented 5 years ago

Is it possible to add feature importance of the model that needs to be explained as weights to gower_dist? This would ensure that features that are not important in the model that lime is trying to explain, are not important in the lime explanation. Of course these weights could be set to NULL or ones to not influence the gower_dist function.