O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python SDK

We will not use the AWS-CLI any further in this chapter, but instead switch to the Python SDK. We needed to setup the credentials for the AWS CLI in order for our SDKs scripts to be able to access our AWS account. To use the Python SDK, we need to install the Boto3 library, which comes bundled in the Anaconda distribution. If you use Anaconda as your Python environment, you should already have the boto3 package installed. If not, you can install it using pip with the following:

pip install boto3

Boto3 will use the credentials we configured for the AWS CLI. There’s no need for a specific setup. Boto3 is available for most AWS services. The full documentation is available at https://boto3.readthedocs.io/. Our minimal use of Boto3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required