Skip to content

AnanyaSDhar/Sentiment-analysis-using-Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

author GitHub followers GitHub watchers GitHub stars GitHub forks

GitHub language count GitHub top language GitHub repo size

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests LICENSE HitCount

Sentiment-analysis-using-Deep Learning

Dataset: IMDB data

Table of Content

Objective

Analysis of sentiment delivered by movie reviews

Overview

BERT and LSTM model that is trained on an IMDB movie review dataset, taken from Kaggle, to classify the review as positive or negative. The results should be returned to the user displaying the prediction as either positive or negative.

Data Preprocessing

Text preprocessing is traditionally an important step for natural language processing (NLP) tasks. It transforms text into a more digestible form so that machine learning algorithms can perform better. In this problem following types of preprocessing is used.

  • Removing all urls from data.
  • Removing all tags from data
  • Decontracting the words
  • Removing special character from data
  • Removing stop words
  • Stemming and Lemmatization
  • Tf-idf vectorization

Modeling

2 deep learning methods are used to train the model

  • BERT (Bidirectional Encoder Representations from Transformers)
  • LSTM (Long short-term memory)

Future prospects

  • Creating a flask app for better user interaction with the model
  • Deployment of the model using Heroku.

Releases

No releases published

Packages

 
 
 

Contributors