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 ...

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.