Classifying Movie Reviews

Imagine you work for a movie theater, and your task is to decide which movies to show based on expert reviews about the movies. While you could spend the time sifting through all of these reviews, it’s both time-consuming and tedious. Instead, you decide to create an algorithm that classifies movie reviews as positive or negative and then show only the movies with the most positive reviews. This problem is a textbook application of sentiment analysis.

The goal of sentiment analysis is to extract sentiment from natural language. Sentiment is simply the attitude of a given text. In other words, sentiment analysis is concerned with extracting the overall attitude or opinion of a given text. Typically, sentiment analysis ...

Get Machine Learning in Elixir 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.