Closed turgut090 closed 4 years ago
Thanks! I noticed this too. It seems there was a radical change recently in shap. I'll look and try to pin the version today/tomorrow. This also would explain the sudden time-scale difference when passing in 100 rows into the interpreter
@henry090 can you try installing from git and using it?
!pip install git+https://github.com/muellerzr/fastinference
Same imports
I get the same error:
TypeError: waterfall() got an unexpected keyword argument 'feature_names'
Detailed traceback:
File "/Users/turgutabdullayev/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/fastinference/tabular/shap/interp.py", line 60, in waterfall_plot
return shap.waterfall_plot(exp_val, shap_vals[row_idx,:], feature_names=feat_names, **kwargs)
This has been fixed now. Reopen if you still have issues but I can confirm it in colab
Thanks. In fact, I manually installed shap==0.35.0
and it worked.
Hi. Pypi version of fastinference throws: