Skip to content
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

SageMaker Timeseries Explainability: Timewise bug #4641

Open
Alex-Wenner-FHR opened this issue May 1, 2024 · 1 comment
Open

SageMaker Timeseries Explainability: Timewise bug #4641

Alex-Wenner-FHR opened this issue May 1, 2024 · 1 comment
Assignees
Labels

Comments

@Alex-Wenner-FHR
Copy link

Describe the bug
When using the TSX feature, there appears to be a bug in the timewise granularity.

I see the following error not specifying static covariate baselines in the AsymmetricShapleyValueConfig instantiation:
ValueError: Baseline for static_covariates must be set.

When I do specify static covariate baselines in the AsymmetricShapleyValueConfig instantiation, I see the following:
ValueError: Baseline for static_covariates is only supported for fine_grained. Used granularity: timewise.

To reproduce
Try to use the AsymmetricShapleyValueConfig instantiation with and without baselines for the static covariates.

Expected behavior
I would expect either specifying or not specifying the static covariate baselines to function with timewise granularity.

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: 2.217.0
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): N/A (TSX)
  • Framework version: N/A (TSX)
  • Python version: 3.9 on the Processing Job, 3.10 on the notebook launching the job.
  • CPU or GPU: GPU & CPU
  • Custom Docker image (Y/N): N
@rvasahu-amazon
Copy link
Contributor

Hi Alex,

Thanks for reaching out. This looks like an bug on our end. We're working on a fix and release for this. For now please use fine_grained explanations instead. We'll include an update here when a fix is released.

@rvasahu-amazon rvasahu-amazon self-assigned this May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants