/parliment

Analysing the votes in the House of Commons using the kmodes algorithm to identify voting blocks amongst Members of Parliament.

Primary LanguagePython

Parliment

Analysing the votes in the House of Commons using the kmodes algorithm to identify voting blocks amongs Members of Parliment.

This repository contains:

  • flask app to serve model results
  • web srapper to scrape votes data and save to db (sqlite / sqlalchemy)
  • implemetation of kmodes algorithm with Cao initilisation