1.1.0
What's New
With this feature update, it becomes possible to speed up repeated risk predictions by providing it with precomputed state distributions. These state distributions are the most expensive part of most models.
Features
- (utils) Add
safe_set_params()
function.
This checks whether the params are a dict, list, or None and handles
them accordingly. Just a convencience method that helped refactor some methods. - Allow to pass state distributions to
posterior_state_dist()
andrisk()
methds. Fixes #80.
With this, one can use precomputed state distributions to speed up
computing the posterior or risk for multiple scenarios.
Refactor
- Use
safe_set_params()
across models.
Testing
- Add checks for midline risk. Related #80.
- (mid) Fix wrong assumption in risk test.
Full Changelog: 1.0.0...1.1.0