aws / aws/amazon-sagemaker-examples

[Content Improvement] - update deprecated functions

Open
#4,200 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**
[blazingtext_text_classification_dbpedia.ipynb
](https://github.com/aws/amazon-sagemaker-examples/blob/e6b96e3a7875cf4ea5c830608e27891c159791d2/introduction_to_amazon_algorithms/blazingtext_text_classification_dbpedia/blazingtext_text_classification_dbpedia.ipynb), presumably others with references to deprecated functions

**What aspects of the notebook can be improved?**
Update deprecated function calls to use their replacements:
![image](https://github.com/aws/amazon-sagemaker-examples/assets/98613409/2515c0dd-bd48-47bd-a028-692d9bc67833)
![image](https://github.com/aws/amazon-sagemaker-examples/assets/98613409/af2e069e-e892-4856-acd5-62c5198291f1)

**What are your suggestions?**

- replace `sagemaker.amazon_estimator.get_image_uri()` with `sagemaker.image_uris.retrieve()`

Contributor guide

Open the contributing guide

Research direction

Open introduction_to_amazon_algorithms/blazingtext_text_classification_dbpedia/blazingtext_text_classification_dbpedia.ipynb and locate the deprecated sagemaker.amazon_estimator.get_image_uri() calls shown in the issue. Review nearby SageMaker setup before replacing them with sagemaker.image_uris.retrieve(), then verify that the notebook no longer contains the deprecated calls; check whether other referenced notebooks require the same update.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.