GerryChain
GerryChain copied to clipboard
Use MCMC to analyze districting plans and gerrymanders
We have a bunch of seed methods sitting in #248 that we should clean up, merge in, and document. But we'll also want to think about how we can present...
Given that our collection of boundary flip proposals all lead to different non-uniform distributions, that can be salvaged in principle by using an accept function, weighted by metagraph degrees, we...
In a perfect world, we could write our metrics so that they would work with scalar values, vectors (like numpy arrays), pandas `Series`s, and our `Partition`s. What kind of API...
We should implement good `__repr__` methods for all the major objects. If we made constraints callable classes with good `repr`'s, this would resolve #235 .
We should add a "Plot cookbook" section to the docs with examples of many different ways to visualize chain outputs. We can keep track of ideas in this issue. -...
It would be useful for the chain to be able to "jump back" to a previous partition and continue walking without this requiring a user to hack together a solution...
It would be very helpful to create this guide for people not intimate with the chain, but who want to write features for it.
It would be really nice, for record-keeping and transparency, if ``` for constraint in constraints: print(constraint) ``` told you enough about the constraints you used for an MCMC that you...
We could have an alternative Validator that checks all the constraints and keeps Counters of how often each constraint is true/false.