Skip to content

Kaif10/Emotion_Detection_in_Tweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emotion detetion in tweets

Main code :(Emotion_detection.ipynb)



I did this project in June 2020. A time when distress was at an all-time high because of coronavirus pandemic and Anti-racism protests. I coded a bi-directional LSTM network trained it on emotion-detection dataset and tested it on the recent tweets of 'BlacklivesMatter' movement on twitter which I scraped using Beautiful Soup.



alt text



Why Bi-Directional LSTMs?

Because they solve a very common problem of vanishing gradients in neural nets and also the are termed as 'Memory Networks' that can remember the far behind and ahead of whats in the sequence and so I consider it as the best architecture for text classification.



alt text



extra file: In this project I have also included a file where I have scraped tweets using Beautiful Soup.



I wrote a blog on this project. Hope you'll like it. :))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published