Skip to content

Sentiment Analysis using LSTM cells on Recurrent Networks. GloVe word embeddings were used for vector representation of words. Amazon Product Reviews were used as Dataset.

Notifications You must be signed in to change notification settings

vishwassathish/Sentiment-Analysis-for-product-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-Analysis-for-product-review

  1. Loading the data
    Load the raw data into python lists

  2. Process to sentences
    Convert the raw reviews to sentences

  3. Text preprocessing
    Tokenize the texts using keras. preprocessing.text module

  4. Create Training set and validation set
    Randomly pick reviews(which are now converted to lists of tokens. one list per review) from the pool of dataset and assing it as train and test samples.

  5. Create word2vec embeddings using GloVe
    Use the GloVe dataset to convert each word of the review into a 100 dimension tensor, which is ready to be sent into our model for training. Get the GloVe Dataset from https://nlp.stanford.edu/projects/glove/

  6. Training
    Used LSTM network for our model. Used dropout activation function = sigmoid error function = binary_crossentropy

About

Sentiment Analysis using LSTM cells on Recurrent Networks. GloVe word embeddings were used for vector representation of words. Amazon Product Reviews were used as Dataset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages