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

Convert EBM model to ONNX to get rid of interpret dependency #2

Open
Hoeze opened this issue Apr 14, 2022 · 3 comments
Open

Convert EBM model to ONNX to get rid of interpret dependency #2

Hoeze opened this issue Apr 14, 2022 · 3 comments

Comments

@Hoeze
Copy link

Hoeze commented Apr 14, 2022

pip-installing interpret pulls a myriad of other awful pip dependencies like e.g. seaborn.
=> https://github.com/interpretml/ebm2onnx

@paulbkoch
Copy link

Another option is to take a dependency on interpret-core. interpret-core has no dependencies by default, and you can pull in whichever ones you need. For example, if you only need to build ebms, you can use:

pip install interpret-core[required,ebm]

Other optional flags are:
https://interpret.ml/docs/installation-guide.html#install-interpret-with-every-dependency

The interpret package is meant to be a heavyweight full featured option which exposes other interpretability methods, and also has visualization.

@Hoeze
Copy link
Author

Hoeze commented Jun 2, 2023

Thanks, if restricting to interpret-core==0.2.7 is sufficient, this is a very elegant solution!
CC @neverov-am

@paulbkoch
Copy link

Yes, this mechanism is available in 0.2.7 as well, and the flags are still the same.

The v0.2.7 setup.py requirements:
https://github.com/interpretml/interpret/blob/ba6ba620936d3c0d21d66418b6d8e3a2834e265a/python/interpret/setup.py#L52

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

2 participants