Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow ... through to the interactive_text_explanations #180

Open
alanault opened this issue May 14, 2020 · 0 comments
Open

Flow ... through to the interactive_text_explanations #180

alanault opened this issue May 14, 2020 · 0 comments

Comments

@alanault
Copy link

Hi there,

Love the package and have been using the interactive explainer to dive into some of our NLP models.

We have quite complex models, and the latest version of the LIME 0.5.1 broke our wrapper around the interactive explainer.

We typically pass additional arguments to the text_explainer, but they're not pushed through to the underlying explainer. e.g. we call it like this

lime::interactive_text_explanations(explainer,
                                        max_feature_to_select = 10,
                                        problem = problem)

I think all we need to adjust to make this work is line 90 of the shiny.r function where the call to explain needs to have ... = ... added and the function itself just needs ... added as an argument.

Thanks!
Alan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant