Skip to content

An implementation of Bidirectional LSTM to analyze movie sentiments.

Notifications You must be signed in to change notification settings

sahilyadav27/MovieSentimentAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

MovieSentimentAnalysis

An implementation of Bidirectional LSTM to analyze movie sentiments.

Algorithm

In this project we train a Bidirectional Long Short-Term Memory (LSTM) network on movie sentiment reviews dataset. This is done because Bidirectional LSTMs run both forwards and backwards, unlike Unidirectional LSTM, which only move forward. This helps the network to understand the "context" in the text better.

Also, Dropout is added to the Dense layer after BiLSTM. This is because by adding drop out for LSTM cells, there is a chance for forgetting something that should not be forgotten. Apart from this, data cleaning is also done in order to convert both the datasets into a common structure and remove N/A values.

Environment

Language: Python 3

Libraries: Keras, NLTK, Pandas

About

An implementation of Bidirectional LSTM to analyze movie sentiments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages