Bambi

Latest version: v0.14.0

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

Scan your dependencies

Page 2 of 5

0.9.2

New features

* Implement `censored()` (581)
* Add `Formula` class (585)
* Add common numpy transforms to extra_namespace (589)
* Add `AsymmetricLaplace` family for Quantile Regression (591)
* Add 'transforms' argument to `plot_cap()` (594)
* Add panel covariates to `plot_cap()` and make it more flexible (596)

Maintenance and fixes

* Reimplemented predictions to make better usage of xarray data structures (573)
* Keep 0 dimensional parameters as 0 dimensional instead of 1 dimensional (575)
* Refactor terms for modularity and extensibility (582)
* Remove seed argument from `model.initial_point()` (592)
* Add build check function on prior predictive and plot prior (605)

Documentation

* Add quantile regression example (608)

Deprecation

* Remove `automatic_priors` argument from `Model` (603)
* Remove string option for data input in `Model` (604)

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)

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.