Example Notebooks - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Example Notebooks

Your notebook instance contains example notebooks provided by Amazon SageMaker. The example notebooks contain code that shows how to apply machine learning solutions by using SageMaker. Notebook instances use the nbexamples Jupyter extension, which enables you to view a read-only version of an example notebook or create a copy of it that you can modify and run. For more information about the nbexamples extension, see https://github.com/danielballan/nbexamples. For information about example notebooks for SageMaker Studio, see Use Amazon SageMaker Studio Classic Notebooks.

Note

Example notebooks typically download datasets from the internet. If you disable SageMaker-provided internet access when you create your notebook instance, example notebooks might not work. For more information, see Connect a Notebook Instance in a VPC to External Resources.

Use or View Example Notebooks in Jupyter Classic

To view or use the example notebooks in the classic Jupyter view, choose the SageMaker Examples tab.

To view a read-only version of an example notebook in the Jupyter classic view, on the SageMaker Examples tab, choose Preview for that notebook. To create a copy of an example notebook in the home directory of your notebook instance, choose Use. In the dialog box, you can change the notebook's name before saving it.

Use or View Example Notebooks in Jupyterlab

To view or use the example notebooks in the Jupyterlab view, choose the examples icon in the left navigation panel.

To view a read-only version of an example notebook, choose the name of the notebook. This opens the notebook as a tab in the main area. To create a copy of an example notebook in the home directory of your notebook instance, choose Create a Copy in the top banner. In the dialog box, type a name for the notebook and then choose CREATE COPY.

For more information about the example notebooks, see the SageMaker examples GitHub repository.