jasminefederer / twitter_classifier

Using Bayes theorem to train an algorithm which seeks to classify whether a tweet is more likely to be referencing 'tory' or 'evil'!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twitter_classifier

Using Bayes theoreum to train an algorithm which seeks to classify whether a tweet is more likely to be referencing 'tory' or 'evil' ... functioning on the (somewhat) biased premise that the two terms are ironically interchangable!

Pulling directly from the Twitter api calls for a great excuse to practise data wrangling with python strip functions and nltk library in order to void interferring characters and increase accuracy of classifier outcome based on words alone

About

Using Bayes theorem to train an algorithm which seeks to classify whether a tweet is more likely to be referencing 'tory' or 'evil'!


Languages

Language:Jupyter Notebook 100.0%