Choicemodels

Latest version: v0.2.2

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.dev9

- improves documentation and packaging

0.2.dev8

- prevents an infinite loop in `interative_lottery_choices()` when none of the remaining alternatives can accommodate any of the remaining choosers

0.2.dev7

- adds a check to the `MergedChoiceTable` constructor to make sure there aren't any column names that overlap between the observations and alternatives tables

0.2.dev6

- resolves deprecation warnings from older code

- removes `choicemodels.tools.mnl_simulate()` (originally from `urbansim.urbanchoice.mnl`), because this functionality has been fully replaced

- removes `choicemodels.Logit`, which wrapped a StatsModels estimator as proof of concept for MNL and didn't provide much value on its own

0.2.dev5

- adds a `chooser_batch_size` parameter to `iterative_lottery_choices()`, to support batch simulation for very large datasets

0.2.dev4

- adds a function `choicemodels.tools.iterative_lottery_choices()` for simulation of choices where the alternatives have limited capacity and choosers have varying probability distributions over the alternatives

- in `MergedChoiceTable`, empty choosers or alternatives now produces an empty choice table (rather than an exception)

- adds support for multiple tables of interaction terms in `MergedChoiceTable`

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.