-
Notifications
You must be signed in to change notification settings - Fork 27
Generalized SMC Algorithms #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
philipwosull
wants to merge
328
commits into
alarm-redist:dev
Choose a base branch
from
philipwosull:gredist
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
328 commits
Select commit
Hold shift + click to select a range
a24069f
optimal weight function now has support for scoring function and stre…
philipwosull 322f61d
now supports custom adj sizing
philipwosull 4df0dd6
fixed hinge constraint bug
philipwosull cbfb15b
tweaked original smc to allow for setting processes and num threads p…
philipwosull 4858283
tweaked region selection prob in gsmc to now be size^alpha
philipwosull 999bbd8
RNG generation is now threadsafe
philipwosull b68fe50
tweaked diagnostic that redist_gsmc puts out
philipwosull 487dcd3
consolidated mergesplit files and changed to just specify desired num…
philipwosull 8979e27
make PRNG more robust with long_jump functionality
philipwosull 4e26019
Adding Plan method for computing log tau terms
philipwosull 32a5f75
cleaned up code and removed extraneous plan variables
philipwosull 2e5b3bc
added compactness parameter and all alg versions passed 6x6 validation
philipwosull dfeaadb
removed more unncessary attributes from plan object
philipwosull a500803
removed recursion from functions which use cut tree to update plans
philipwosull 82c2706
refactor of get valid edges in tree with speed up by only requiring o…
philipwosull 8e42811
Now removed unnessecary copying in the splitting step
philipwosull eaeda4f
removed duplicate tree splitters, now only uses one for entire gsmc f…
philipwosull 15f3bd8
forgot new UST Sampler files
philipwosull 7ef437c
some minor tweaks to starting prinout message
philipwosull 6dc8bc6
removed feature unnesarily computing log tau for simple graph space w…
philipwosull 11d6d8a
added parallel versions of some redistmetrics functions to speed up s…
philipwosull 2d94604
added more parallel versions of some redistmetrics functions
philipwosull c427528
adding weights file
philipwosull 36c83c4
more tweaks to make parallel redistmetric functions more thread safe.…
philipwosull 750abc0
fixed issue with parallel polsby popper. If no pool object RcppThread…
philipwosull 5ca5610
implemented new merge split using Plan class. Passes validation
philipwosull 7d0cef1
some more code refactor to help support linking edge stuff
philipwosull 79f292c
skeleton of linking edge done. Just need to add multigraph tau
philipwosull 71a2db0
linking edge space sampling passes validation
philipwosull 33d242e
some code tweaks
philipwosull 6af2ef4
minor typo in tree splitter types file
philipwosull 3ed2cac
exposed exported generic gsmc file as export
philipwosull 96dc627
forgot generic redist man page
philipwosull ce63e94
more man page tweaks
philipwosull 086c3c9
removed unneccesary copy in smc plans function
philipwosull 91318bf
reduced memory usage in plan reorder
philipwosull a7d5acd
smc merge split working for forest, still doesn't pass validation for…
philipwosull 820a179
caught error with not correctly updating linking probabilities/comput…
philipwosull 6531948
smc+ms works for linking edge
philipwosull 21913a3
refactored diagnostics and added code to track the size of regions we…
philipwosull bc0efe0
added for mcmc too
philipwosull 4b74e61
added constants for alg types
philipwosull adab046
adding county check in merge split
philipwosull 2d4b2a6
added county split checking
philipwosull b3d5557
added more diagnostics for merge split seperation bug
philipwosull 5af72f6
hopefully fixed issue with incorrect hiearchical tree drawing for gen…
philipwosull f776cb7
trying to turn off pop bounds in sample_sub_ust to see if that fixes …
philipwosull e2e4ac9
trying again to fix
philipwosull 7452576
indexing typo in update
philipwosull e6f9d8d
added quick multithreaded sorting function for district statistics
philipwosull a14f8db
had non uploaded function in Rcpp file
philipwosull ef8bb31
didnt remove stuff from Rcpp exports last time
philipwosull 842e0db
very hacky fix for county issue GRAPH SPACE ONLY
philipwosull 696b5b4
adding functions for computing log optimal weights and target density
philipwosull 3187a56
another bug in county checking, quick fix but needs more verification
philipwosull 0157522
attempted to fix county boundary counting issue
philipwosull e98f306
major refactor. Switched from arma columns to uint8 vectors for plan ids
philipwosull c0b3bdb
starting to refactor forests to be smaller
philipwosull cea469d
tweaking forest assignment to take more space upfront
philipwosull 5adc7bd
Now support 65535 counties instead of 255
philipwosull 6cdcfdb
hopefully counties now work for graph plans optimal weights
philipwosull 89d5399
fixed another uint issue
philipwosull eba70c4
switched determinants to PSD version and added shallow copy
philipwosull dcf6730
refactor to avoid using as much memory when no intial plans
philipwosull d679b97
more memory usage refactoring
philipwosull 7fac0e6
more memory usage reduction
philipwosull e389547
resampling done in c++ to save memory
philipwosull fdc0433
more stuff done in Rcpp to save mem
philipwosull 73ba889
made extra printing controlled by verbose
philipwosull e9554a3
fixed bug with incorrect copying for odd split numbers
philipwosull 354ad0c
fixed minor typo
philipwosull fc949cd
added functions to compute log target density and the log target for …
philipwosull c341b20
added incomplete implementation of pair hash
philipwosull 4c1bbe2
overhauled county component stuff for graph and forest space
philipwosull 70b1836
smc and smc+mcmc pass validation now
philipwosull bf09868
constraint code now scores districts only on per constraint basis. De…
philipwosull bd16605
mergesplit tweak
philipwosull 2750687
added support for MMD plans and nseats for partial SMD plans
philipwosull 6a2709c
Added but not tested code for multi member district district only splits
philipwosull 03c189d
added hard constraints to manual weights cpp code
philipwosull fb9009b
caught potential bug in MMD split district only where big districts c…
philipwosull 480f50a
nvm allowing districts to be split again
philipwosull b1b13a1
renamed and changed redist_gsmc function inputs to match old redist_smc
philipwosull da355f6
some more cleanup tweaks to gsmc cpp file
philipwosull de276c3
added support for seeding random trees on initialized non blank fores…
philipwosull 3aa720f
Major refactor of code, eliminated county components and replaced wit…
philipwosull db69bcb
fixed minor bug in simple weights
philipwosull d4ce7e8
caught bug in not catching diff adjacent components
philipwosull 61cbe73
fixed error in redist_gsmc where it would not do split districts only
philipwosull 3c388fa
change multigraph to be vec of vec of int array of size 3
philipwosull 896fc3b
now display the number of threads in the threadpool
philipwosull 3ab54c6
renamed redist gsmc to redist smc and moved old smc to legacy version…
philipwosull 6c63099
renamed everything from gredist back to redist
philipwosull 8cfa4ee
more renaming back to redist stuff and reset plot_maps file
philipwosull 5b4f6c4
attempting to add seq_alpha back but failing validation
philipwosull 44c5465
seq alpha passes validation
philipwosull 85033ac
removed old smc cpp code and replaced it with new code
philipwosull 7f03402
fixed bug in MMD district splits where incorrect split sizes from pre…
philipwosull 7a59ba3
starting to overhaul diagnostics
philipwosull ab6373c
made it so you always compute multidsistrict selection probability fo…
philipwosull dc68e07
more tweaks and fixed a ms bug with tree size counts
philipwosull c69bad1
removed some pointless tests and fixed issue with null nseats for ref…
philipwosull 000a32b
removed so non used functions, consolidated a file, and reskinned mer…
philipwosull 6f1d60b
caught issue with multigraph check if hier valid not working properly
philipwosull 17e023f
added incumbency constraint to updated smc code, avoided duplicate by…
philipwosull 9d3ced8
more constraints added to new code
philipwosull fa0cffe
overhauled Wilson code to reuse as many vectors as possible
philipwosull 5725d4d
made tree pop stacks fixed size
philipwosull f7fba3e
updating SMC tests for new code interface changes
philipwosull 77df900
updated merge split tests for new function inputs
philipwosull b0fe550
added new soft and hard plan constraints and other tweaks
philipwosull b112b07
code now passes all tests on Philip mac
philipwosull 2fe10f8
removed all parallel redistmetrics functions. Moved to gsmcs repo
philipwosull 4111e4a
clean ups
philipwosull 5a37f79
fixing merge conflicts
philipwosull 9ea023e
updated code to avoid unnecessary repeated memory allocation in weigh…
philipwosull a2eb9d7
Added updated version of eval_segregation and eval_grp_pow and grp_po…
philipwosull 120acfe
adding some of the new updates under 5.0
philipwosull 3382833
more tweaks to news and readme
philipwosull 666d857
addressing comments on plans_helpers
philipwosull f2c3c0c
updating main readme
philipwosull 4849d02
reverting changes to dot files
philipwosull 6d0bed7
starting to work on short explainer for c++ code
philipwosull 70d475d
revising redist smc
philipwosull f0cf574
switching naming conventions. total_seats to nseats, nseats to seats,…
philipwosull 6eb02b5
switched shortburst mergesplit backend to forest space
philipwosull 0626438
more renaming of region_sizes to seats
philipwosull 860cdac
cleaning up redist alg helpers
philipwosull 785b5f6
cleaning up redist alg helpers
philipwosull 0c11a58
removing cli prefix before cli_warn and cli_abort
philipwosull 479845f
refactored summary function
philipwosull 766b077
now pass district pops out from redist smc and ms to avoid needing to…
philipwosull 96f8ccb
renaming score_districts_only to only_districts for constraints
philipwosull 961368d
added thresh to constraint R code, still need to add to c++
philipwosull b8fe0dd
more minor tweaks
philipwosull 74d5c24
moved some constraint functions to map calc
philipwosull 86c744a
changes to linking edge multigraph tau
philipwosull 34faa16
in the middle of fixing linking edge with counties on
philipwosull 5460e68
hierarchical linking edge count now passes some tests
philipwosull fc871e6
linking edge with counties on now passes first round of tests. Method…
philipwosull 0098a52
linking edge now passes all hierarchical validations
philipwosull 7f50da7
resolving some merge conflicts
philipwosull cfd3691
all cli lib calls now prefixed with cli colon colon
philipwosull 730a22e
slightly sped up hierarchical linking edge calculation
philipwosull 0a93fa2
more efficiency tweaks to compute log linking edge
philipwosull 90c1bbb
for optimal weights moved linking edge computation from weights
philipwosull 4f5daa8
flipped linking edge term ratio in optimal weights. fixed
philipwosull cd8799b
added and tested faster method to convert log linking edge for merged…
philipwosull 7b07488
now only compute linking edge selection probability when needed, inst…
philipwosull f68a826
fixed issue with district populations not being resampled correctly
philipwosull a7e6a79
when inferring seat sizes only warns about not-tight bounds once
philipwosull d5d7f83
added mergesplit parallel back with deprecation warning
philipwosull 8dd1677
max_dev now works for multimember plans
philipwosull 93e6c3d
more code tweaks
philipwosull 69a4b66
more mostly style changes for pr
philipwosull 70fdd1b
added thresholding in constraints and new test for custom plan based …
philipwosull d70da95
adding some missing man pages
philipwosull b4f5b28
made summary backwards compatible with previous redist plans
philipwosull 90dfcaa
moved constants to package file
philipwosull 4472305
modified constraints cpp code to reduce memory usage
philipwosull e71879f
thresholding now turns constraints into indicators
philipwosull 01da894
added missing array header
philipwosull 69d2972
can now exactly specify what number of regions plan constraints apply to
philipwosull 010d185
fixed problem with non-unique thread ids
philipwosull 3b0ea35
fixed remaining thread id assignment issues. Now ensures thread ids a…
philipwosull 32eabe2
fixed redist parity bug with MMD
philipwosull 76bf3a7
renaming some mergesplit parameters
philipwosull a48ba78
removing stale debugging statement
philipwosull 770fb00
forgot to rename some ms move to step in diagnostics
philipwosull a207d6e
updated diagnostics to return rhats and diagnostics df
philipwosull a17f6ce
fixed polsby popper calculations
philipwosull 93fd5c0
fixed minor bug with competition constraint c++ code
philipwosull 37a2e1f
updating some doc files
philipwosull 6d962fa
minor verbose output printing tweaks
philipwosull 47cb624
added min_frac thresholding for multiple groups and changed default c…
philipwosull f0401c2
added min_frac thresholding for multiple groups and changed default c…
philipwosull fea4023
adding more doc files
philipwosull d9e9564
for smc can now specify mergesplit for last n steps or every n steps
philipwosull 01c545d
added plan total splits constraint
philipwosull c7810e5
fixed issue with redist ms test
philipwosull 85139ad
adding partial caching for compactness calculations
philipwosull 560a20c
new much faster tau calculations
philipwosull 9c1f627
removed redundant print statement
philipwosull 12807bc
fixed an issue with cache updating between smc rounds
philipwosull beebae5
switched linking edge taus to eigen as well:
philipwosull c2808cd
Merge pull request #4 from philipwosull/sparsechol
philipwosull fe60b97
Update pkgdown workflow triggers
CoryMcCartan 9bc6c60
Update check-standard.yaml to simplify branch rules
CoryMcCartan 8d28854
Add workflow_dispatch trigger to check-standard.yaml
CoryMcCartan a035f76
fixing issue with missing functions in RcppExports
philipwosull 9daaa46
fixing issue with subsetting when chain values are NA
philipwosull 80ce495
improving computational stability for plan based constraints
philipwosull 7bb59a9
adding max_split_tries parameter
philipwosull 1814c12
weaken impossibility check
CoryMcCartan f90e571
improving some linking edge error diagnostics
philipwosull e76920e
more diagnostic printing detail
philipwosull b297c7f
rbind for 4.0 and 5.0 SMD plans should work now
philipwosull 6eed205
shortburst now works for multi member district plans
philipwosull 94b39da
updating shortburst for mmd init plan
philipwosull 83f631b
copy config files from dev
CoryMcCartan 966ba88
run formatters
CoryMcCartan 8042f07
resolve merge conflicts
CoryMcCartan 7fa96b6
Get tests running, integrate cycle walk, fix lints
CoryMcCartan 507c431
reorg ignores
CoryMcCartan 1d5a3cd
base pipe, clean tests, fix check?
CoryMcCartan 0c1689f
cpp format and try to fix windows check
CoryMcCartan 25f4f09
printfs for diagnosing windows CI
CoryMcCartan cb29925
trace v2
CoryMcCartan e8dbcf6
trace 3
CoryMcCartan a765f7e
trace 4
CoryMcCartan 6ad550b
trace 5
CoryMcCartan d4f6f37
trace 6
CoryMcCartan fbb7dcc
revert diagnostics & remove threading from MS setup (should fix for n…
CoryMcCartan fbacd5d
refactor thread_local statics
CoryMcCartan ce83082
ensuring shortburst status quo scorer properly labels plans
philipwosull aad333f
adding issue with backwards compatibility of adding reference plans
philipwosull 5d2f0ec
removing all calls to arma log symmetrical determinant (replaced with…
philipwosull 168e0f8
allowing mmd sampling when one district size can be written as sum of…
philipwosull a013e09
removing erroneous warnings about certain mmd size configurations
philipwosull 2dcf253
adding some more granular time tracking of smc code
philipwosull 0137bfa
making debugging if statements constexpr and making redist ms use les…
philipwosull 96bee3d
adding toggable dev flag for granular time tracking
philipwosull cf0ae4f
removing some extraneous at instead of bracket access
philipwosull 6609e14
updating random func to be pass by ref
philipwosull 45f62d5
added packed forest but didn't remove old type
philipwosull 892465b
still occasionally throwing up some kind of rare bug
philipwosull 8e3ad47
adding more checks in the code
philipwosull a8c9bee
more error catching added
philipwosull 74877d4
even more checks
philipwosull a632913
more error checks again
philipwosull 617cf77
more checks
philipwosull cd63411
removing smc base and making utils file
philipwosull ebe4222
made debug checks more robust
philipwosull b701f95
adding more optional checks
philipwosull a4c4163
even more checks added
philipwosull 5da7325
last few commits before removing old forest graph code
philipwosull 8f5837e
removing unnesscary checks and putting the others behind compile flags
philipwosull ef43cac
added proper dummy county sampling
philipwosull efad86b
removed vertex forest as an option entirely
philipwosull c80cdff
switching parent tracking from atomics to one vector per thread (more…
philipwosull 1abf68c
removed old graph tree code
philipwosull f4ecdc7
slightly faster forest updating now
philipwosull 5ca52f9
makes vectors appended instead of inserted in find joined tree edges
philipwosull 564905c
switched dummy county trees to BFS to encourage bushier trees
philipwosull 8593ccf
brought back compute retroactive split prob with vertex forest for fo…
philipwosull ee92b6e
removed duplicate constraint code and wrote helpers for R processing
philipwosull 6546373
speeding up log eff boundary computation for forest space by only cop…
philipwosull 7b5bfc6
turning off granular tracking for main branch
philipwosull 4e773f2
removing debugging check from smc
philipwosull f2a59d0
Merge pull request #7 from philipwosull/packedforests
philipwosull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,36 @@ | ||
| ^.*\.Rproj$ | ||
| ^\.Rproj\.user$ | ||
| README.Rmd | ||
| \.git | ||
| \.gitignore | ||
| ^\.github$ | ||
| \.travis\.yml | ||
| \.DS_Store | ||
| \.\.Rcheck | ||
| builder.sh | ||
| ^\.vscode$ | ||
| ^\.cache$ | ||
| ^\.claude$ | ||
| ^\.clang-format$ | ||
| ^src/\.clang-format-ignore$ | ||
| ^src/cpp_code_overview\.md$ | ||
| ^air\.toml$ | ||
| ^jarl\.toml$ | ||
| ^compile_commands\.json$ | ||
| ^.*\.o$ | ||
| ^doc$ | ||
| ^\.\.Rcheck$ | ||
| ^Meta$ | ||
| ^doc$ | ||
| builder.sh | ||
| ^_pkgdown\.yml$ | ||
| ^docs$ | ||
| ^pkgdown$ | ||
| ^.*\.Rproj$ | ||
| ^\.Rproj\.user$ | ||
| ^cran-comments\.md$ | ||
| ^CRAN-RELEASE$ | ||
| ^R/dev_helpers\.R$ | ||
| ^inst/enumpart/enumpart\.exe$ | ||
| ^data-raw$ | ||
| ^explore$ | ||
| ^\.github$ | ||
| ^LICENSE\.md$ | ||
| ^inst/enumpart/enumpart$ | ||
| ^inst/enumpart/enumpart\.exe$ | ||
| ^cran-comments\.md$ | ||
| ^CRAN-RELEASE$ | ||
| ^CRAN-SUBMISSION$ | ||
| ^revdep$ | ||
| ^\.cache$ | ||
| ^\.claude$ | ||
| ^\.vscode$ | ||
| ^\.clang-format$ | ||
| ^src/\.clang-format-ignore$ | ||
| ^LICENSE\.md$ | ||
| ^CONTRIBUTING\.md$ | ||
| ^air\.toml$ | ||
| ^jarl\.toml$ | ||
| ^compile_commands\.json$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,38 @@ | ||
| # R / RStudio | ||
| .Rproj.user | ||
| .vscode | ||
| .DS_Store | ||
| .Rhistory | ||
|
|
||
| .claude/ | ||
| # OS / editors | ||
| .DS_Store | ||
| .vscode | ||
| .cache/ | ||
| .claude/ | ||
| CLAUDE.md | ||
| compile_commands.json | ||
|
|
||
| *.so | ||
| # Compiled objects | ||
| *.o | ||
| *.rds | ||
| *.tmp | ||
| *.so | ||
| *.dll | ||
| *.gch | ||
| *.pch | ||
| *.dll | ||
|
|
||
| inst/doc | ||
| inst/enumpart/enumpart | ||
| # R data / temp | ||
| *.rds | ||
| *.tmp | ||
|
|
||
| # Build artifacts | ||
| Meta | ||
| doc | ||
| inst/doc | ||
| src-i386/ | ||
|
|
||
| # pkgdown / vignette caches | ||
| docs | ||
| docs/articles/*_cache/* | ||
| vignettes/*_cache/* | ||
| src-i386/ | ||
|
|
||
| # Package-specific | ||
| inst/enumpart/enumpart | ||
| inst/enumpart/enumpart.exe | ||
| redist/tests/testthat/_snaps | ||
| docs | ||
|
|
||
| compile_commands.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
philipwosull marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,48 @@ | ||
| # redist (development) | ||
|
|
||
| # redist 5.0.0 | ||
| * Replaces old SMC weights with generally lower variance optimal weights. | ||
| * Adds the option to add Mergesplit MCMC steps at any point during an SMC run. | ||
| Adding mergesplit steps can help achieve convergence for plans with a larger | ||
| number of districts without increasing the sample size. | ||
| * Improves SMC and Mergesplit MCMC performance by pre-allocating and reusing as | ||
| much memory as possible while drawing spanning trees. | ||
| * Introduces new methods for sampling plans for both SMC and Mergesplit MCMC. | ||
| The final output is still plans from the same distribution as before but new | ||
| sampling spaces and splitting methods will sometimes perform better under some | ||
| scenarios. | ||
| * Introduces a new method for splitting in SMC - generalized region splits. | ||
| Instead of splitting off one district at a time this allows for splitting into | ||
| two arbitrary sized regions. For an equal sample size generalized region splits | ||
| tends to converge slower but it is typically much faster (up to twice as fast or | ||
| more) since on average it draws spanning trees on smaller subgraphs then | ||
| single district splits. | ||
| * Adds support for sampling multimember district plans with both SMC and | ||
| mergesplit MCMC under some mild conditions. The district seat sizes (how many | ||
| legislators a district can have) must be a range of values e.g. (3,4,5) and no | ||
| district seat size can be the sum of two others. | ||
| * When counties are used `redist_mergesplit` now samples from the same target | ||
| distribution as `redist_smc` (it guarantees no more than the number of districts | ||
| minus 1 splits). | ||
| * `redist_mergesplit` inputs now work differently. | ||
|
CoryMcCartan marked this conversation as resolved.
|
||
| * `nsims` is now the number of plans saved. | ||
| * `warmup` is the number of steps to run the chain for before collecting any samples. | ||
| * `thin` means we will run the chain for `thin - 1` steps between saving plans | ||
| * Overall the chain will be run for `warmup + nsims * thin` and return `nsims` plans. | ||
| * Adds the option to incorporate rejection sampling for all constraints in SMC | ||
| and mergesplit MCMC. Any constraint can now include a threshold argument `thresh` | ||
| where for a newly split plan if either of the two new regions has a raw score | ||
| greater than or equal to `thresh` then the plan will be automatically reject. | ||
| This amounts to giving plans where any region has a score above `thresh` a | ||
| probability of 0. | ||
| * Updates the target distribution when counties are turned on. For more details | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you give any more details here, since the paper is not available?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We will have a preprint by the time this is released |
||
| see the forthcoming working paper. | ||
| * The mergesplit backend for `redist_shortburst` now uses uniform edge sampling | ||
| with forest space for the backend instead of sampling with graph space and all | ||
| `k` related parameters have been removed. | ||
|
|
||
| # redist 4.4.0 | ||
| * Old `enumpart` functions are deprecated in favor of `redist_enumpart()` which provides a more consistent syntax. | ||
|
|
||
| # redist 4.3.2 | ||
|
|
||
| * Allows for parallel flip with `chains` argument in `redist_flip()`. | ||
| * Fixes URL issues causing a note on CRAN. We have pointed the links to our website directly. | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.