a simple tweet analysis by TfIdf
I collect data from twitter using tweepy
https://twitter.com/agussylvidki
https://twitter.com/ahokdjarot
https://twitter.com/jktmajubersama
Requirement:
Python (2.7)
Supporting Library
Scikit-Learn(0.18) , Pandas (0.18.1) , Matplotlib (1.5.1), Seaborn (0.7.1)
next feature
- count tweet per day
- most user tweet / Paslon (added)
tf idf simple expalation with excel http://lsirwww.epfl.ch/courses/dis/2006ws/exercises/IR/Exercise8.htm
I adapt this code from https://www.kaggle.com/diekanugraha/d/mousehead/songlyrics/tf-idf-weighted-artist-s-favorite-word and do some modification
and code for crawling https://gist.github.com/yanofsky/5436496


