Skip to Content
Hands-On Industrial Internet of Things
book

Hands-On Industrial Internet of Things

by Giacomo Veneri, Antonio Capasso
November 2018
Intermediate to advanced
556 pages
14h 42m
English
Packt Publishing
Content preview from Hands-On Industrial Internet of Things

Working with the dataset

The first thing to do is to filter your data, removing all engines except for engine one, and saving the new dataset in the S3 bucket that we just created. First, we need to install the dependencies. From the command console, install the AWS Python libraries:

$ pip install boto3$ pip install sagemaker

We can do this either in the online SageMaker Jupyter or in the locally installed Jupyter Notebook:

  1. The code to download the S3 files is as follows:
import boto3import sagemaker#role = 'your username if you run jupyter offline'role = sagemaker.get_execution_role()region = boto3.Session().region_nameprint(region)print(role)# Test bucket name immersionday-sagemaker-testbucket_name = 'iiot-book-data'file_name_train ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things

Internet of Things

S. Velliangiri, Sathish A.P. Kumar, P. Karthikeyan
Industrial Internet Application Development

Industrial Internet Application Development

Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli

Publisher Resources

ISBN: 9781789537222Supplemental Content