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

Preprocessing with Lambda

We would now like to send the tweets for sentiment classification to our Amazon ML model. In order to do that, we will enable the data transformation available in the Kinesis Firehose delivery stream page and use a Lambda function:

AWS Lambda is a data-processing service that allows you to run scripts (in a variety of languages, including Python 2.7, but not Python 3). It is used in conjunction with other services, such as Kinesis, as a data processing add-on. You can divert your data stream, send it to Lambda for processing, and, if you wish, have the result sent back to the initial stream. You can also use Lambda ...

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