Recent Releases of bambi
bambi - Release 0.15.0
New features
- Add default priors for binomial and bernoulli families with logit link (#830)
- Add horseshoe prior (#836)
- Handle multivariate responses with HSGP (#856)
Maintenance and fixes
- Change the JAX random number generator key for 32 bit systems (#833)
- Change
renametoreplaceinpre-render.py(#843) - Fix out of sample prediction for multivariate families. It would not work for tables where the number of rows was different from the one used to fit the model (#847)
- Check variables before trying to access them in posterior predictive sampling (#851)
- Pass kwargs to nutpie + create env.yml file (#855)
Documentation
- Fix typos and incomplete doc strings (#765)
- Clarify elpd differences interepretation (#825)
- Fix the contributing readme link (#837)
- Add example using
offset(#842) - Fix model formula in negative binomial notebook (#859)
- Fix formatting in t-test examples (#861)
- Fix issue 812 Broken link (#862)
- Update repository documentation files (#865)
- Python
Published by tomicapretto about 1 year ago
bambi - Release 0.14.0
New features
- Add configuration facilities to Bambi (#745)
- Interpet submodule now outputs informative messages when computing default values (#745)
- Bambi supports weighted responses (#761)
- Bambi supports constrained responses (#764)
- Implement
compute_log_likelihood()method to compute the log likelihood on a model (#769) - Add a class
InferenceMethodsthat allows users to access the available inference methods and kwargs (#795)
Maintenance and fixes
- Fix bug in predictions with models using HSGP (#780)
- Fix
get_model_covariates()utility function (#801) - Use
pm.compute_deterministics()to compute deterministics when bayeux based samplers are used (#803) - Wrap all the parameters of the response distribution (the likelihood) with a
pm.Deterministic(#804) - Keep
bayeux-mlas the single direct JAX-related dependency (#804) - The response component only holds response information about the response, not about predictors of the parent parameter (#804)
- Resolve import error associated with bayeux (#822)
Documentation
- Our Code of Conduct now includes how to send a report (#783)
- Add polynomial regression example (#809)
- Add Contact form to our webpage (#816)
Deprecation
f"{response_name}_obs"has been replaced by"__obs__"as the dimension name for the observation index (#804)f"{response_name}_{parameter_name}"is no longer the name for the name of parameters of the likelihood. Now Bambi uses"{parameter_name}"(#804)kindinModel.predict()now use"response_params"and"response"instead of"mean"and"pps"(#804)include_meanhas been replaced byinclude_response_paramsinModel.fit()(#804)
- Python
Published by tomicapretto over 1 year ago
bambi - Bambi 0.13.0
This is the first version of Bambi that is released with a Governance structure. Added in #709.
The highlights are the shiny interpret subpackage and the implementation of support for censored models.
New features
- Bambi now supports censored responses (#697)
- Implement
"exponential"and"weibull"families (#697) - Add
"kidney"dataset (#697) - Add
interpretsubmodule (#684, #695, #699, #701, #732, #736)- Implements
comparisons,predictions,slopes,plot_comparisons,plot_predictions, andplot_slopes
- Implements
- Support censored families
Maintenance and fixes
- Replace
univariate_orderedwithordered(#724) - Add missing docstring for
center_predictors(#726) - Fix bugs in
plot_comparison(#731)
Documentation
- Add docstrings to utility functions (#696)
- Migrate documentation to Quarto (#712)
- Add case study for MRP (#716)
- Add example about ordinal regression (#719)
- Add example about zero inflated models (#725)
- Add example about predictions for new groups (#734)
Deprecation
- Drop official suport for Python 3.8 (#720)
- Change
plotssubmodule name tointerpret(#705)
- Python
Published by tomicapretto over 2 years ago
bambi - Bambi 0.12.0: Ordinal models and predictions on new groups
0.12.0
New features
- Implement new families
"ordinal"and"sratio"for modeling of ordinal responses (#678) - Allow families to implement a custom
create_extra_pps_coord()(#688) - Allow predictions on new groups (#693)
Maintenance and fixes
- Robustify how Bambi handles dims (#682)
- Fix links in FAQ (#686)
- Update additional dependencies install command (#689)
- Update predict pps docstring (#690)
- Add warning for aliases athat aren't used (#691)
Documentation
- Add families to the Getting Started guide (#683)
- Python
Published by tomicapretto over 2 years ago
bambi - Bambi 0.11.0: The family grows
0.11.0
New features
- Add support for Gaussian Processes via the HSGP approximation (#632)
- Add new families:
"zero_inflated_poisson","zero_inflated_binomial", and"zero_inflated_negativebinomial"(#654) - Add new families:
"beta_binomial"and"dirichlet_multinomial"(#659) - Allow
plot_cap()to show predictions at the observation level (#668) - Add new families:
"hurdle_gamma","hurdle_lognormal","hurdle_negativebinomial", and"hurdle_poisson"(#676)
Maintenance and fixes
- Modify how HSGP is built in PyMC when there are groups (#661)
- Modify how Bambi is imported in the tests (#662)
- Prevent underscores from being removed in dim names (#664)
- Bump sphinx dependency to a version greater than 7 (#672)
Documentation
- Document how to use custom priors (#656)
- Fix name of arviz traceplot function in the docs (#666)
- Add example that shows how
plot_cap()works (#670)
- Python
Published by tomicapretto almost 3 years ago
bambi - Bambi 0.10.0
New features
- Refactored the codebase to support distributional models (#607)
- Added a default method to handle posterior predictive sampling for custom families (#625)
plot_cap()gains a new argumenttargetthat allows to plot different parameters of the response distribution (#627)
Maintenance and fixes
- Moved the
testsdirectory to the root of the repository (#607) - Don't pass
dimsto the response of the likelihood distribution anymore (#629) - Remove requirements.txt and replace with
pyproject.tomlconfig file to distribute the package (#631)
Documentation
- Update examples to work with the new internals (#607)
- Fixed figure in the Sleepstudy example (#607)
- Add example using distributional models (#641)
Deprecation
- Removed versioned documentation webpage (#616)
- Removed correlated priors for group-specific terms (#607)
- Dictionary with tuple keys are not allowed for priors anymore (#607)
- Python
Published by tomicapretto about 3 years ago
bambi - Bambi 0.9.3
Maintenance and fixes
- Update to PyMC >= 5, which means we use PyTensor instead of Aesara now (#613, #614)
- Python
Published by tomicapretto about 3 years ago
bambi - Bambi 0.9.2
New features
- Implement
censored()(#581) - Add
Formulaclass (#585) - Add common numpy transforms to extra_namespace (#589)
- Add
AsymmetricLaplacefamily 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_priorsargument fromModel(#603) - Remove string option for data input in
Model(#604)
- Python
Published by tomicapretto about 3 years ago
bambi - Bambi 0.9.1
Bambi 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)
- Python
Published by aloctavodia over 3 years ago
bambi - Bambi 0.9.0
New features
- Bambi now uses PyMC 4.0 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)
- Python
Published by aloctavodia over 3 years ago
bambi - Bambi 0.8.0
Bambi 0.8.0
New features
- Add VonMises (
"vonmises") built-in family (#453) Model.predict()gains a new argumentinclude_group_specificto 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 aslink="cloglog"(#472) - Replaced plain dictionaries with
namedtuples when same dictionary structure was repeated many times (#472) - The function
check_full_rank()inutils.pynow checks the array is 2 dimensional (#472) - Removed
_extract_family_prior()frombambi/familiesas it was unnecesary (#472) - Removed
bambi/families/utils.pyas it was unnecessary (#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
drawsparameter fromModel.predict()method (#504)
- Python
Published by tomicapretto almost 4 years ago
bambi - Bambi 0.7.1
This is a patch release where we fix a bug related to the shape of 2 level categorical group-specific effects (#441)
- Python
Published by tomicapretto about 4 years ago
bambi - Bambi 0.7.0
This release includes a mix of new features, fixes, and new examples on our webpage.
New features
- Add "categorical" built-in family (#426)
- Add
include_meanargument to the methodModel.fit()(#434) - Add
.set_alias()method toModel(#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)
- Python
Published by tomicapretto about 4 years ago
bambi - Bambi 0.6.1
Mainly changes to the docs and minor fixes.
- Python
Published by tomicapretto over 4 years ago
bambi - Bambi 0.6.0
Many changes are included in this release. Some of the most important changes are
- New model families (StudentT, Binomial, Beta).
- In-sample and out-of-sample predictions.
- Improved sampling performance due to predictor centering when the model contains an intercept.
- New default priors (similar to rstanarm default priors).
- It's possible to use potentials.
- There's a new function to load datasets used throughout examples
- Python
Published by tomicapretto over 4 years ago
bambi - Bambi 0.5.0
The main changes in this release can be summarized as follows
- Modified the API. Now all information relative to the model is passed in
Modelinstantiation instead of inModel.fit(). - Fixed Gamma, Wald, and Negative Binomial families.
- Changed theme of the webpage and now the documentation is built automatically.
- Python
Published by tomicapretto almost 5 years ago
bambi - Release 0.4.1
The aim of this release is to update to formulae 0.0.9, which contains several bug fixes. There are also other minor fixes and improvements that can be found in the changelog.
- Python
Published by tomicapretto almost 5 years ago
bambi - The formulae bambino
The main change in this release is the use of formulae, instead of patsy, to parse model formulas.
- Python
Published by aloctavodia almost 5 years ago
bambi - The First Python 3 (and arviz) Bambino
This release drops Python 2 support (Python >=3.6 is required) and relies on ArviZ for all the plotting and diagnostics/stats. Support for PyStan has been deprecated. If you like to contribute to maintaining PyStan support please contact us. We have done a lot of internal changes to clean the code and make it easier to maintain.
- Python
Published by aloctavodia almost 6 years ago
bambi - great bambino
This release features numerous new features and improvements, including support for Stan, a revamped API, expanded random effect support, considerably better compilation and sampling performance for large models, better parameterization of random effects, among other changes.
- Python
Published by tyarkoni almost 9 years ago