tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Error in shap_values_tutorial

Open robmarkcole opened this issue 1 month ago • 1 comments

With shap==0.50.0

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], [line 1](vscode-notebook-cell:?execution_count=2&line=1)
----> [1](vscode-notebook-cell:?execution_count=2&line=1) X,y = shap.datasets.boston()

AttributeError: module 'shap.datasets' has no attribute 'boston'

robmarkcole avatar Nov 13 '25 11:11 robmarkcole

This can be swapped for X,y = shap.datasets.california()

robmarkcole avatar Nov 13 '25 11:11 robmarkcole