Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add call to validate baseline static covariates method
Browse files Browse the repository at this point in the history
rvasahu-amazon committed Mar 18, 2024
1 parent a8ad1d1 commit b535f53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sagemaker/clarify.py
Original file line number Diff line number Diff line change
@@ -2557,7 +2557,10 @@ def explainability(
assert ts_data_config_present, "Please provide a TimeSeriesDataConfig to DataConfig."
assert ts_model_config_present, "Please provide a TimeSeriesModelConfig to ModelConfig."
# Check static covariates baseline matches number of provided static covariate columns

_AnalysisConfigGenerator._validate_time_series_static_covariates_baseline(
explainability_config=explainability_config,
data_config=data_config,
)
else:
if ts_data_config_present:
raise ValueError(

0 comments on commit b535f53

Please sign in to comment.