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

And what is the most popular vegetable?

It's interesting to compare the sentiment score distributions between our Amazon ML model and TextBlob. We can see in the following plot that our Amazon ML model is good at separating positive and negative tweets, while TextBlob has a more centered distribution. In fact, a significant portion of tweets were scored as 0 (neutral) by TextBlob. We removed them from the histogram:

According to our Amazon ML model, the most popular vegetables on Twitter are green beans, followed by asparagus and garlic. According to TextBlob, cauliflower is ranked fourth favorite, followed by leeks and cucumber. The following ...

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