Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
makungaj1 committed Feb 13, 2024
2 parents 1566935 + 43cdadd commit 44e08d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/sagemaker/workflow/clarify_check_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ class ModelExplainabilityCheckConfig(ClarifyCheckConfig):
Attributes:
model_config (ModelConfig): Config of the model and its endpoint to be created.
explainability_config (SHAPConfig): Config of the specific explainability method.
Currently, only SHAP is supported.
explainability_config (SHAPConfig or PDPConfig): Config of the explainability method.
Supports SHAP or PDP.
For `PDPConfig`, `features` must be specified.
`top_k_features` based on SHAP is currently not supported.
model_scores (str or int or ModelPredictedLabelConfig): Index or JMESPath expression
to locate the predicted scores in the model output (default: None).
This is not required if the model output is a single score. Alternatively,
Expand Down Expand Up @@ -166,6 +168,10 @@ def __init__(
):
"""Constructs a ClarifyCheckStep.
To understand the `skip_check`, `fail_on_violation`, `register_new_baseline`
and `supplied_baseline_constraints` parameters, check the following documentation:
https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html
Args:
name (str): The name of the ClarifyCheckStep step.
clarify_check_config (ClarifyCheckConfig): A ClarifyCheckConfig instance.
Expand Down
5 changes: 5 additions & 0 deletions src/sagemaker/workflow/quality_check_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ def __init__(
):
"""Constructs a QualityCheckStep.
To understand the `skip_check`, `fail_on_violation`, `register_new_baseline`,
`supplied_baseline_constraints` and `supplied_baseline_constraints` parameters,
check the following documentation:
https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html
Args:
name (str): The name of the QualityCheckStep step.
quality_check_config (QualityCheckConfig): A QualityCheckConfig instance.
Expand Down

0 comments on commit 44e08d7

Please sign in to comment.