Skip to content

Conversation

@smaeland
Copy link
Contributor

Add a convenience function to plot time series data with attributions overlaid (captum.attr.visualization.visualize_timeseries_attr). This addresses #958 .
Comes with three styles, shown here for some dummy data:

  1. Plot each channel in a separate panel, with separate heatmaps overlaid
    overlaid_individual

  2. Plot all channels in a single panel, with average heatmap overlaid
    overlaid_combined

  3. Plot each channel in a separate panel and color the graphs by attribution values at each time step
    colored_graph

The function accepts matplotlib keyword arguments for additional styling.

@facebook-github-bot
Copy link
Contributor

Hi @smaeland!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

1 similar comment
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

Copy link

@i-jones i-jones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@facebook-github-bot
Copy link
Contributor

@i-jones has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Co-authored-by: i-jones <[email protected]>
@facebook-github-bot
Copy link
Contributor

@i-jones has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants