Tensorflow – Sentiment Analysis using tensorflow

sentiment-analysistensorflow

I am exploring tensorflow and would like to do sentiment analysis using the options available. I had a look at the following tutorial http://www.tensorflow.org/tutorials/recurrent/index.html#language_modeling

I have worked woth Naive Bayes Classifier, Maximum Entropy Algorithm and Scikit Learn Classifier and would like to know if there are any better algorithms offered by tensorflow. Is this the right place to start or are there any other options?

Any help pointing in the right direction would be greatly appreciated.

Thanks in advance.

Best Answer

A commonly used approach would be using a Convolutional Neural Network (CNN) to do sentiment analysis. You can find a great explanation/tutorial in this WildML blogpost. The accompanying TensorFlow code can be found here.

Another approach would be using an LSTM (or related network), you can find example implementations online, a good starting point is this blogpost.

Related Topic