-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
cannot pip install shap or conda install -c conda-forge shap #1386
Comments
pip will not work without a compiler (XCode), but I would have expected coda forge to work... |
Thanks for getting back to us. Issue with Mac. Reset and installed perfectly. Now we wait for explainer.shap_values(X_test) to run 😊😊 Would you have a rough idea how long a test set with 35,000 observations and 150 features would take to run? |
Totally depends on the explainer and the model. For explainers.Tree is should take very little time (a min?). For model agnostic methods it could take a lot longer, but there should be a progress bar. If you find something running for a long time without a progress bar let us know. |
I am using the following RF model and it has been running > 24 hours. y is multi-class (0, 1, 2) and x features are financial ratios, macroeconomic vars etc. model = RandomForestClassifier(random_state=0) As you mentioned it should take very little time, would it be due to using RF for such long run time? |
Extra information: training data is approx 85,000 observations. I have it running separately as well with a reduced feature set from 150+ to 20 and that has been > 12 hours at the moment. Could it be due to the training dataset observation size? |
This issue has been inactive for two years, so it's been automatically marked as 'stale'. We value your input! If this issue is still relevant, please leave a comment below. This will remove the 'stale' label and keep it open. If there's no activity in the next 90 days the issue will be closed. |
This issue has been automatically closed due to lack of recent activity. Your input is important to us! Please feel free to open a new issue if the problem persists or becomes relevant again. |
Hi I am trying to install shap to use in anaconda (spyder) but this error occurs when I pip install shap in the terminal.The output of the error is below.
The error says "Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools."
However, I do not have xcode installed!
Any help to figure out what is going on would be a life saver as I have no idea what is causing this error to occur. Thanks!!
pip install shap
The text was updated successfully, but these errors were encountered: