Srikanth Pagadala

Sentiment Analysis with TFLearn

05 Feb 2017

In this notebook, we’ll build upon our previous project - “Sentiment Analysis from Scratch” by building a network for sentiment analysis on the movie review data. Instead of a network written with Numpy, we’ll be using TFLearn, a high-level library built on top of TensorFlow. TFLearn makes it simpler to build networks just by defining the layers. It takes care of most of the details for you.

TFLearn does a lot of things for you such as initializing weights, running the forward pass, and performing backpropagation to update the weights. You end up just defining the architecture of the network (number and type of layers, number of units, etc.) and how it is trained.

Source Code

Report