UDST / choicemodels

Python library for discrete choice modeling
https://udst.github.io/choicemodels
BSD 3-Clause "New" or "Revised" License
74 stars 33 forks source link

[0.2.dev5] Batch simulation for constrained choices #48

Closed mxndrwgrdnr closed 5 years ago

mxndrwgrdnr commented 5 years ago

Per issue #47 this PR allows the user to specify a smaller chunk size of choosers to simulate choices in batches until complete. It required very little changes to the code, and I set the defaults so that they're backwards compatible with existing code, i.e. no changes are required unless someone chooses to enable this functionality.

Before merging

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.07%) to 74.493% when pulling 903340093985ea21c05b1a3ee258b8290de08ba4 on batch_simulation into 238ad982bc1518becef87789fc78acf9a1467652 on master.

smmaurer commented 5 years ago

Looks great! Let's bump the version number to 0.2.dev5 in setup.py and the top-level __init__.py and then merge.