Skip to content

Captum based on regression does not require target as inputs? #1532

@HelloWorldLTY

Description

@HelloWorldLTY

❓ Questions and Help

We have a set of listed resources available on the website and FAQ: https://captum.ai/ and https://captum.ai/docs/faq . Feel free to open an issue here on the github or in our discussion forums:

Hi, I am using Captum for explaining regression problems. I used to run Captum to explain classification problems and it works well, but if I input target to Captum for regression problems, errors of output shape will be thrown:

Error: output with format [50,1] which is inconsistent with label [1]

Therefore, the current Captum does not require us to assign labels as inputs. Is this correct? Targets or labels only work for multi-class classification, that is what I am guessing. Thank you so much!

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