Boto3, the Python SDK

Another tool to interact with the Amazon ML service outside of the web interface is an SDK. Simply put, an SDK is a wrapper around an API that makes working with the service much simpler and more efficient, as many details of the interactions are taken care of. AWS offers SDKs in the most widespread languages such as PHP, Java, Ruby, .Net, and of course, Python. In this chapter, we will focus on working with the Amazon ML service through the Python SDK. The Python SDK requires the Boto3 module.

Installation of the Boto3 module is done via pip. Refer to the quickstart guide available at http://boto3.readthedocs.io/en/latest/guide/quickstart.html if you need more information and troubleshooting:

pip install boto3

Boto3 ...

Get Effective Amazon Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.