Skip to content

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

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

Open
HelloWorldLTY opened this issue Mar 25, 2025 · 0 comments
Open

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

HelloWorldLTY opened this issue Mar 25, 2025 · 0 comments

Comments

@HelloWorldLTY
Copy link

❓ 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant