Skip to content

A predictor of how popular a government article will be based on a simple Bernoulli Naive Bayes classifier on Twitter

Notifications You must be signed in to change notification settings

jphines/PredictingPopGov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicting Popular Government, an analys is of states

By Justin Hines

This is a final project for Data Driven Modeling taught by Jake Hofman.

This project aims to predict the popularity of governemntal articles using a multi-class bernoulli naive bayes classifier.

Run make to download the dataset, filter, and apply the classifier. Results will be stored in log/.  All tsv data sets will be in tsv organized by dstate.  Final filtered tsvs will be in tsv/{STATE}/tsvs/

Run make bayes to run the bayes classifier on a dataset, or python bayes.py in the src/ directory.

The final report is included in docs/


About

A predictor of how popular a government article will be based on a simple Bernoulli Naive Bayes classifier on Twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages