How to debug the explicability module of a model in the registry ?

0

Hello, I get an error in the explicability module of the model registry (see screenshot below). How can I debug this ? I would like to access logs to investigate this error.

Screenshot of the Model Registry in Sagemaker Studio

2개 답변
0

Customer needs to provide the S3uri for Clarify Explainability json in CreateModelPackage ModelMetrics

   "ModelMetrics": {
        "ModelQuality": {
            "Statistics": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********/V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/modelqualitycheckstep/statistics.json"
            },
            "Constraints": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********//V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/modelqualitycheckstep/constraints.json"
            }
        },
        "ModelDataQuality": {
            "Statistics": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********//V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/dataqualitycheckstep/statistics.json"
            },
            "Constraints": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********//V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/dataqualitycheckstep/constraints.json"
            }
        },
        "Bias": {
            "Report": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********//V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/modelbiascheckstep/analysis.json"
            },
            "PreTrainingReport": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********/V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/databiascheckstep/analysis.json"
            },
            "PostTrainingReport": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********/V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/modelbiascheckstep/analysis.json"
            }
        },
        "Explainability": {
            "Report": {
                "ContentType": "application/json",
                "S3Uri": "s3://sagemaker-project-p-*********/V796221526-p-pwcowxgrrfdt/5qo6ezikmux3/modelexplainabilitycheckstep/analysis.json"
            }
        }
    }

The Studio looks for the analysis.json(S3Uri) file in particular in the Explainability -> Report object and renders the report for the data in the analysis.json file.

AWS
답변함 일 년 전
-1
답변함 일 년 전
  • Thank for your answer but this Stackoverflow discussion is not about the same subject. I know how to get the importance of my model features from a notebook but in my case it is a custom model (catboost) that I save in the model registry while running a sagemaker pipeline. I can't find in the documentation the specification needed to display the feature importance when using AWS Clarify and I can't find the associated logs.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠