Skip to content

A Recurrent Neural Network to perform Sentiment Analysis on Movie Reviews

Notifications You must be signed in to change notification settings

uttejh/Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-Analysis

A Recurrent Neural Network to perform Sentiment Analysis on Movie Reviews.

Built With

  • PyTorch
  • Pyhton3
  • Numpy

Dataset

Used a movie reviews dataset accompanied by labels: Positive and Negative

bromwell high is a cartoon comedy . it ran at the same time as some other programs about school life such as teachers . my years in the teaching profession lead me to believe that bromwell high s satire is much closer to reality than is teachers . the scramble to survive financially the insightful students who can see right through their pathetic teachers pomp the pettiness of the whole situation all remind me of the schools i knew and their students . when i saw the episode in which a student repeatedly tried to burn down the school i immediately recalled . . . . . . . . . at . . . . . . . . . . high . a classic line inspector i m here to sack one of your teachers . student welcome to bromwell high . i expect that many adults of my age think that bromwell high is far fetched . what a pity that it

Model Performance

Test loss: 0.523
Test accuracy: 0.806

Inference on a test review

Review: "The worst movie I have seen; acting was terrible and I want my money back. This movie had bad acting and the dialogue was slow."

Model Prediction:

Prediction value, pre-rounding: 0.005843
Negative review detected.

Acknowledgements

About

A Recurrent Neural Network to perform Sentiment Analysis on Movie Reviews

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages