Lab 3

In this lab, you will be doing a sentiment analysis on Twitter tweets by building a linear classifier. The tweet data is already labeled as negative and positive tweets. E.g. pos_tweets.txt.

Install PIP Dependency

pip3 install scikit-learn==0.19.0
pip3 install jupyter==1.0.0

Run Jupyter

jupyter notebook

Expected Output

::neg::"Noooooooo!!! There are clips missing on youtube "
...


Accuracy=x.xxxxxxxxxx