FastTreeSHAP icon indicating copy to clipboard operation
FastTreeSHAP copied to clipboard

Fast SHAP value computation for interpreting tree-based models

Results 17 FastTreeSHAP issues
Sort by recently updated
recently updated
newest added

Hi team, I have both windows and linux laptop. I was able to install FastTreeSHAP package on window but not on linux. this is the error message that I got...

It would be nice to add a FastTreeSHAP package to conda-forge https://conda-forge.org/ (in addition to pypi) You can use grayskull https://github.com/conda-incubator/grayskull to generate a boilerplate for the conda recipe.

Thanks for making FastTreeShap! I'm excited to use it. I want to generate some classic SHAP plots. Can you provide an example, maybe in a jupyter notebook, of how to...

Hi, love your package. Will it receive an update so its in sync with SHAP? Preferably it would be nice if we could distill the computation and perhaps propose a...

Hi Team, I am not able to install the FastTreeSHAP library in Kubeflow, facing below error - building 'fasttreeshap._cext' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/fasttreeshap creating build/temp.linux-x86_64-3.9/fasttreeshap/cext x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare...

I tried to run the notebook example with the following code snippet: ``` shap_explainer = fasttreeshap.TreeExplainer(lgb_model) num_leaves = sum(shap_explainer.model.num_nodes) - sum(sum(shap_explainer.model.children_left > 0)) print("Total number of leaves is {}.".format(num_leaves)) ```...

Hi, when using XGB, the additivity check fails, while it does not when using native shap or lightgbm Using `xgboost 1.7.6, shap 0.41.0 and fasttreeshap 0.1.6` could it be linked...

Hi! Fasttreeshap is great example of real applied computer science research, thank you! It is much faster and configurable than the original `shap`package. We were wondering if the referenced original...

I am using `FastTreeSHAP` to help explained my random forest model prediction having over 40K samples and 24 features. ``` explainer = fasttreeshap.TreeExplainer(model, algorithm='auto' ,n_jobs=-1) shap_values = explainer(X_test).values shap_values.shape (40682,...

I cannot install the package fasttreeshap using pip in python 3.8 due to the error below. I'm using **setuptools** as version **51.0.0**. How can I solve this? Many thanks, ![image](https://github.com/linkedin/FastTreeSHAP/assets/60208884/fcac0e7f-175b-4049-8f8e-79d04b44c3b3)