What We Watch data analysis scripts.
Python Matlab R
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
matlab
r
tests
.gitignore
LICENSE
Readme.md
app.config.sample
cleandata.py
country_info.json
db.py
exposure.py
external.py
find_exposure_country_hist.py
findclusters.py
findcvparams.py
findexposure.py
findexposurehist.py
findhierarchy.py
findlikelihood.py
findnationhistograms.py
findpairstats.py
findparams.py
findstatistics.py
geovidcorpus.py
graph.py
hierarchy.py
main.py
slink.py
statistics.py
util.py

Readme.md

What We Watch

Data analysis scripts for What We Watch http://whatwewatch.mediameter.org

Dependencies

To use this code you must install the following dependencies:

Contents

This package contains scripts to analyze country-coded video trending data available at http://www.youtube.com/trendsmap . It contains the following files:

  • app.config.sample - Sample configuration for the database, data set, etc.
  • tests/ - Unit tests
  • data/ - Data sets.
  • cleandata.py - Load data from a sql database, remove unwanted data, and write to a CSV in the data/ directory.
  • findlikelihood.py - Track the likelihood of LDA clusters over all training iterations.
  • findparams.py - Find clusters for different parameter settings and record the likelihood of each.
  • fundclusters.py - Find all clusters in the data and output to a csv.
  • db.py - Database schema for sqlalchemy, used by cleandata.py.