Hi, I wanted to test SHAP with fastinference, but there is an import error. how to fix this? Thanks!
ImportError Traceback (most recent call last)
<ipython-input-7-d27f1c452f1a> in <module>
----> 1 from fastinference.tabular.shap.core import _prepare_data, _prepare_test_data, _predict
2 import shap
3 from fastai.tabular.all import *
~/anaconda3/envs/ab/lib/python3.7/site-packages/fastinference/tabular/__init__.py in <module>
1 from ..soft_dependencies import SoftDependencies
2 if not SoftDependencies.check()['interp']:
----> 3 raise ImportError("The interp module is not installed.")
4
5 from .shap import *
ImportError: The interp module is not installed.
Ah, it seems the readme was not updated for whatever reason. It has been now. fastinference is a base module, so the interp module needs to be installed via: pip install fastinference[interp]
Hi, I wanted to test SHAP with fastinference, but there is an import error. how to fix this? Thanks!