~/talk

Using Algorithm X to reanalyse the last UK general election

Talkat PyData Global 2020 · 2020-11-11..11-15· [python, data-visualization]
links:none on file
slides:none on file

Claim: Algorithm X finds exact-cover merges of 2–4 neighboring constituencies and those merged maps feed standard PR apportionment methods. Implementation uses geopandas disjoint tests, a public Python Algorithm X package (pip install) with a pip kernel speedup and joblib parallelism; London two-merge space yields ~540 million covers (3.5 hours), full-run ~15 hours. Ran 10,000 simulations per scenario, scoring with the Gallagher index: FPTP ≈11.6, Webster ≈4.3, Hare ≈3.2, so larger merged districts and Webster/Hare produce markedly more proportional results.

AI-written summary · about

  1. 0:00Introduction
  2. 4:58First past the post problems
  3. 10:14Algorithm X and exact cover
  4. 13:45How Algorithm X works
  5. 16:57Merging constituencies with X
  6. 23:53Simulating PR elections
  7. 26:44Results with Gallagher index
  8. 28:07Summary
  9. 29:53Acknowledgements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.