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

Streaming Twitter sentiment analysis

In this chapter, our main project consists of real-time sentiment classification of Tweets. This will allow us to demonstrate how to use an Amazon ML model that we've trained to process real-time data streams, by leveraging the AWS data ecosystem.

We will build an infrastructure of AWS services that includes the following:

  • Amazon ML: to provide a real-time classification endpoint
  • Kinesis firehose: To collect the Tweets
  • AWS Lambda: To call an Amazon ML streaming endpoint
  • Redshift: To store the Tweets and their sentiment
  • S3: To act as a temporary store for the Tweets collected by Kinesis Firehose
  • AWS Cloudwatch: To debug and monitor

We will also write the necessary Python scripts that feed the Tweets to ...

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