When running local explanation like LIME via box.expain.explain_prediction(...) the following DeprecationWarning is thrown:
venv/lib/python3.9/site-packages/genbase/utils.py:75: DeprecationWarning:
`np.str` is a deprecated alias for the builtin `str`. To silence this warning, use `str` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.str_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Environment information
Platform: Linux
Python version: 3.9
explabox version: 0.9b6
Reproducing the bug
Steps to reproduce the behavior:
from explabox import Explabox
data = ...
model = ...
box = Explabox(data=data, model=model)
box.explain.explain_prediction("Some sentence you want to explain")
Summary of bug
When running local explanation like LIME via
box.expain.explain_prediction(...)
the followingDeprecationWarning
is thrown:Environment information
explabox
version: 0.9b6Reproducing the bug
Steps to reproduce the behavior: