Skip to content

andrew749/Election-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Election Sentiment Analysis

A quick notebook I toyed around with the night of the 2016 presidential election.

I train a classifier on a set of movie reviews to try to create a model for sentiment. Reviews are tokenized using TFIDF and then the respective TFIDF scores are used to train an SVM classifier. This classifer now knows a very basic understanding of what words correspond to positive and negative emotions/events. From here, incoming tweets are tokenized and the generated model is used to predict the sentiment of the tweet.

About

Jupyter Notebook analyzing tweet sentiment during the election.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published