Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 2.48 KB

README.rst

File metadata and controls

63 lines (47 loc) · 2.48 KB

GerryChain

Build Status Code Coverage Documentation Status PyPI Package

GerryChain is a Python library for building ensembles of districting plans using Markov chain Monte Carlo. It is developed and maintained by the Metric Geometry and Gerrymandering Group and our network of volunteers. It is distributed under the 3-Clause BSD License.

The basic workflow is to start with the geometry of an initial plan and generate a large collection of sample plans for comparison. Usually, we will constrain these sampled plans in such a way that they perform at least as well as the initial plan according to traditional districting principles, such as population balance or compactness. Comparing the initial plan to the ensemble provides quantitative tools for measuring whether or not it is an outlier among the sampled plans.

Getting started

See our Getting started guide for the basics of using GerryChain.

Useful links

Installation

To install GerryChain from PyPI, just run pip install gerrychain.