Skip to content

issue using plot_lcppn_explainer.ipynb sample script #132

@colton-vp

Description

@colton-vp

Describe the bug
I have downloaded the plot_lcppn_explainer.ipynb notebook and am trying to run it locally. I am able to train and predict the classifier, but I get an error when defining the explainer.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://hiclass.readthedocs.io/en/latest/auto_examples/plot_lcppn_explainer.html and download thw plot_lcppn_explainer.ipynb notebook.
  2. Open the notebook and try to run the code. I split up the main cell and found the bug at the #Define Explainer portion of the script.
  3. See error

Expected behavior
I expected to see the example plot that is shown on the download page.

Screenshots
Screenshot 2024-09-27 at 1 47 10 PM

Desktop (please complete the following information):

  • OS: MacOS 15.0, M1 Pro
  • Python 3.11.9

Additional context
Add any other context about the problem here.

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