Skip to content

ragulin/mds-riksdagen

Repository files navigation

MDS visualizations of the swedish parliament.

This is a hack that makes MDS visualizations based on the voting data from the swedish parliament.

Heavily inspired by chapter 9 of the book Machine Learning for Hackers and the python port available here.

Example

Voteringar 2011-2012

How to get it running?

Install dependencies

  • Python
  • Scikit-learn
  • Pandas
  • Matplotlib
  1. Download data from riksdagen and unzip it
  2. Run python prepare_data.py <path to your data> > prepared_data.csv
  3. Run python plot_data.py prepared_data.csv
  4. Check out the result by opening prepared_data.csv.png

About

MDS visualizations of the swedish parliament

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published