Member-only story

ARTICLE

Sentiment Classification Using a Large Movie Review Dataset, Part 1

From Machine Learning with TensorFlow, Second Edition by Chris Mattmann

Manning Publications

--

This article covers using text and word frequency (Bag of Words) to represent sentiment.

Take 40% off Machine Learning with TensorFlow, Second Edition by entering fccmattmann into the discount code box at checkout at manning.com.

One of the magic uses of machine learning that impresses everyone nowadays is teaching the computer to learn from text. With social media, SMS text, Facebook messenger, WhatsApp, Twitter and other sources generating hundreds of billions of text messages a day, there’s no shortage of text to learn from.

SEE FOR YOURSELF: Check out this famous infographic demonstrating the abundance of textual data arriving each day from various media platforms: https://www.textrequest.com/blog/how-many-texts-people-send-per-day/.

Social media companies, phone providers, and app makers try to use the messages you send to make decisions and classify you. Have you ever sent your significant other an SMS text message about the Thai food you ate for lunch and then later saw ads on your social media pop up recommending new Thai restaurants to visit? Scary as it seems that big brother is trying to identify and understand your food habits, there are also practical applications used by online streaming service companies trying to determine if…

--

--

Manning Publications
Manning Publications

Written by Manning Publications

Follow Manning Publications on Medium for free content and exclusive discounts.

No responses yet