aws / aws/amazon-sagemaker-examples

explaining_customer_churn_model.ipynb failed CI

Open
#2,244 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/autopilot/model-explainability/explaining_customer_churn_model.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
ResourceNotFound Traceback (most recent call last)
in
1 automl_job_name = 'your-autopilot-job-that-exists'
----> 2 automl_job = AutoML.attach(automl_job_name, sagemaker_session=session)
3
4 # Endpoint name
5 ep_name = 'sagemaker-automl-' + datetime.now().strftime('%Y-%m-%d-%H-%M-%S')

/opt/conda/lib/python3.7/site-packages/sagemaker/automl/automl.py in attach(cls, auto_ml_job_name, sagemaker_session)
120 sagemaker_session = sagemaker_session or Session()
121
--> 122 auto_ml_job_desc = sagemaker_session.describe_auto_ml_job(a

[...]

ResourceNotFound: An error occurred (ResourceNotFound) when calling the DescribeAutoMLJob operation: Amazon SageMaker can't find an AutoML job called your-autopilot-job-that-exists.

Contributor guide

Open the contributing guide

Research direction

Open autopilot/model-explainability/explaining_customer_churn_model.ipynb and inspect cell In [4], where AutoML.attach fails while describing the placeholder job. Review how CI executes this notebook and determine what setup or input it expects; done means the notebook completes in CI without the ResourceNotFound error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
cloud, machine-learning, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.