6 Sentiment classification: Large movie-review dataset
This chapter covers
- Using text and word frequency (Bag of Words) to represent sentiment
- Building sentiment classifier using logistic regression and with softmax
- Measuring classification accuracy
- Computing ROC curve and measure classifier effectiveness
- Submitting your results to the Kaggle challenge for movie reviews
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, What’s App, Twitter, and other sources generating hundreds of billions of text messages a day, there is no shortage of text to learn from.
TIP Check out this famous infographic demonstrating the abundance of ...
Get Machine Learning with TensorFlow, Second Edition 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.