diff --git a/src/sagemaker/workflow/clarify_check_step.py b/src/sagemaker/workflow/clarify_check_step.py index cefb6b95b4..7abc875010 100644 --- a/src/sagemaker/workflow/clarify_check_step.py +++ b/src/sagemaker/workflow/clarify_check_step.py @@ -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,