Skip to content

NLP (sentiment analysis) of tweets from US politicians with FastAI

Notifications You must be signed in to change notification settings

JeevanBhoot/politician-sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

politician-sentiment

Sentiment analysis of tweets from US politicians with FastAI (natural language processing).

• Followed the ULMFiT methodology: Transfer learning with an AWD LSTM language model from Wikinet-103 dataset to the Sentiment-140 dataset. A language model predicts the next word/letter/symbol given a sequence.

• Trained the Sentiment-140 language model as a classifier, to predict sentiment of tweets from almost 2000 United States politicians.

• Classified the tweets by sentiment and analysed the data, comparing political parties, genders, birth countries and day by day averages. Found a significant decrease in average sentiment on the day of the Capitol attack (6th Jan 2021).

About

NLP (sentiment analysis) of tweets from US politicians with FastAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published