thomasp85 / lime

Local Interpretable Model-Agnostic Explanations (R port of original Python package)

Home Page:https://lime.data-imaginist.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding Feature importance to gower_dist

NienkeVanTKlooster opened this issue · comments

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.