Skip to content

Error in shap_values_tutorial #24

Open

Description

@robmarkcole

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'

Activity

  1. robmarkcole commented on Nov 13, 2025

    @robmarkcole
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions