Skip to content

ericsherlock/lstm_rnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Binary Sentiment Analysis and Emotion Classification using Long Short Term Memory Recurrent Neural Networks (LSTM-RNNS)

Written with Python and Keras, this code tests binary sentiment analysis with LSTM-RNNS which was extended to classify emotions in text. Please note, this code does not run "out of the box". Due to the size of the datasets and individual machine limitations, in order for the code to run you will need to download the desired datasets and word embeddings. With them, you will need to reshape the matrices and tensors to your specific needs. Resources for the word embeddings and datasets are below.

Embeddings:

  1. Google's Word2Vec URL: https://code.google.com/archive/p/word2vec/

Datasets:

  1. Keras IMDB Dataset URL: https://keras.io/datasets/

  2. Amazon Product Reviews URL: www.kaggle.com/bittlingmayer/amazonreviews

  3. Figure Eight's Emotion in Text Dataset: URL: https://www.figure-eight.com/data-for-everyone/

About

LSTM-RNN for sentiment analysis

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages