Introducing Jupyter Notebooks (AWS SageMaker)

1 hour
  • 4 Learning Objectives

About this Hands-on Lab

Jupyter Notebooks are the standard tool for interacting with and manipulating data. Data scientists and engineers at many companies can experiment with them, using their datasets to assist in product development.

In this activity, we will cover the basic structure of a notebook, how to execute code, and how to make changes. We’ll also create a simple machine learning model and use it to make inferences. This lab uses AWS SageMaker Notebooks and provides you with the foundational knowledge required to use this service for more advanced topics.

The files used in this lab, can be found [here on GitHub](https://github.com/linuxacademy/content-aws-mls-c01).

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Navigate to the Jupyter Notebook

Navigate through the AWS Console to the AWS SageMaker page. From there, load the Jupyter Notebook server that has been provided with this hands-on lab.

Use Markdown to Add Richly Formatted Text to a Notebook

Add a cell to the notebook. Make sure the cell is configured for Markdown using the dropdown menu.

Add some Markdown text. You can try inserting the image that is included in the lab.

Use a Code Cell to Evaluate the Output of Python Code

Add a cell to the notebook. Make sure the cell is configured for Code using the dropdown menu.

Add some Python syntax to the cell, and run the cell to see the output.

Use scikit-learn to Build a Simple Machine Learning Model

All the code you need is provided in the notebook. You can make adjustments to the code, experiment with it, and then run the code in the cells.

Make a prediction or inference using the generated model.

Check to see if the prediction matches what you expected using the graph of the model.

Additional Resources

This is a follow-along lab. The videos will walk through each of the steps involved in creating a simple machine learning model, including loading the Jupyter Notebook server from AWS SageMaker.

Please make sure you are in the US-East-1 region when in the AWS console.

At the end of the lab videos, take the rest of the time available for your own experimentation.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?