Sentiment analysis

We will now write an app to predict sentiments of a movie review. Reviews are made up of a sequence of words and the order of words encodes very useful information to predict sentiment. The first step is to map words to word embeddings. The second step is the RNN that receives a sequence of vectors as input and considers the order of the vectors to generate the prediction.

Get Neural Network Programming with TensorFlow 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.