Bambi

Latest version: v0.13.0

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

Scan your dependencies

Page 2 of 4

0.9.1

New features

* Add support for jax sampling via numpyro and blackjax samplers (526)
* Add Laplace family (524)
* Improve Laplace computation and integration (555 and 563)

Maintenance and fixes

* Ensure order variable is preserved when ploting priors (529)
* Treat offset accordingly (534)
* Refactor tests to share data generation code (531)

Documentation

* Update documentation following good inferencedata practices (537)
* Add logos to repo and docs (542)

Deprecation

* Deprecate method argument in favor of inference_method (554)

0.9.0

New features

- Bambi now uses [PyMC 4.0](https://www.pymc.io/blog/v4_announcement.html) as it's backend. Most if not all your previous model should run the same, without the need of any change.
- Add Plot Conditional Adjusted Predictions `plot_cap` (517)

Maintenance and fixes
- Group specific terms now work with numeric of multiple columns (516)

0.8.0

New features

- Add VonMises (`"vonmises"`) built-in family (453)
- `Model.predict()` gains a new argument `include_group_specific` to determine if group-specific effects are considered when making predictions (470)
- Add Multinomial (`"multinomial"`) built-in family (490)

Maintenance and fixes

- Add posterior predictive sampling method to "categorical" family (458)
- Require Python >= 3.7.2 to fix NoReturn type bug in Python (463)
- Fixed the wrong builtin link given by `link="inverse"` was wrong. It returned the same result as `link="cloglog"` (472)
- Replaced plain dictionaries with `namedtuple`s when same dictionary structure was repeated many times (472)
- The function `check_full_rank()` in `utils.py` now checks the array is 2 dimensional (472)
- Removed `_extract_family_prior()` from `bambi/families` as it was unnecesary (472)
- Removed `bambi/families/utils.py` as it was unnecesary (472)
- Removed external links and unused datasets (483)
- Replaced `"_coord_group_factor"` with `"__factor_dim"` and `"_coord_group_expr"` with `"__expr_dim"` in dimension/coord names (499)
- Fixed a bug related to modifying the types of the columns in the original data frame (502)

Documentation

- Add circular regression example (465)
- Add Categorical regression example (457)
- Add Beta regression example (442)
- Add Radon Example (440)
- Fix typos and clear up writing in some docs (462)
- Documented the module `bambi/defaults` (472)
- Improved documentation and made it more consistent (472)
- Cleaned Strack RRR example (479)

Deprecation

- Removed old default priors (474)
- Removed `draws` parameter from `Model.predict()` method (504)

0.7.1

Maintenance and fixes

- Fixed bug related to the shape of 2 level categorical group-specific effects (441)

0.7.0

New features

- Add "categorical" built-in family (426)
- Add `include_mean` argument to the method `Model.fit()` (434)
- Add `.set_alias()` method to `Model` (435)

Maintenance and fixes

- Codebase for the PyMC backend has been refactored (408)
- Fix examples that averaged posterior values across chains (429)
- Fix issue 427 with automatic priors for the intercept term (430)

Documentation

- Add StudentT regression example, thanks to tjburch (414)
- Add B-Spline regression example with cherry blossoms dataset (416)
- Add hirarchical linear regression example with sleepstudy dataset (424)

0.6.3

- Use formulae 0.2.0 (411)

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.