BAyesian Model-Building Interface (Bambi) in Python.
MIT License
Bot releases are visible (Hide)
compute_log_likelihood()
method to compute the log likelihood on a model (#769)InferenceMethods
that allows users to access the available inference methods and kwargs (#795)get_model_covariates()
utility function (#801)pm.compute_deterministics()
to compute deterministics when bayeux based samplers are used (#803)pm.Deterministic
(#804)bayeux-ml
as the single direct JAX-related dependency (#804)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)kind
in Model.predict()
now use "response_params"
and "response"
instead of "mean"
and "pps"
(#804)include_mean
has been replaced by include_response_params
in Model.fit()
(#804)Published by tomicapretto 12 months ago
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.
"exponential"
and "weibull"
families (#697)"kidney"
dataset (#697)interpret
submodule (#684, #695, #699, #701, #732, #736)
comparisons
, predictions
, slopes
, plot_comparisons
, plot_predictions
, and plot_slopes
univariate_ordered
with ordered
(#724)center_predictors
(#726)plot_comparison
(#731)plots
submodule name to interpret
(#705)Published by tomicapretto over 1 year ago
"ordinal"
and "sratio"
for modeling of ordinal responses (#678)create_extra_pps_coord()
(#688)Published by tomicapretto over 1 year ago
"zero_inflated_poisson"
, "zero_inflated_binomial"
, and "zero_inflated_negativebinomial"
(#654)"beta_binomial"
and "dirichlet_multinomial"
(#659)plot_cap()
to show predictions at the observation level (#668)"hurdle_gamma"
, "hurdle_lognormal"
, "hurdle_negativebinomial"
, and "hurdle_poisson"
(#676)plot_cap()
works (#670)Published by tomicapretto over 1 year ago
plot_cap()
gains a new argument target
that allows to plot different parameters of the response distribution (#627)tests
directory to the root of the repository (#607)dims
to the response of the likelihood distribution anymore (#629)pyproject.toml
config file to distribute the package (#631)Published by tomicapretto almost 2 years ago
Published by tomicapretto almost 2 years ago
censored()
(#581)Formula
class (#585)AsymmetricLaplace
family for Quantile Regression (#591)plot_cap()
(#594)plot_cap()
and make it more flexible (#596)model.initial_point()
(#592)automatic_priors
argument from Model
(#603)Model
(#604)Published by aloctavodia about 2 years ago
Published by aloctavodia over 2 years ago
plot_cap
(#517)Published by tomicapretto over 2 years ago
"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)"multinomial"
) built-in family (#490)link="inverse"
was wrong. It returned the same result as link="cloglog"
(#472)namedtuple
s when same dictionary structure was repeated many times (#472)check_full_rank()
in utils.py
now checks the array is 2 dimensional (#472)_extract_family_prior()
from bambi/families
as it was unnecesary (#472)bambi/families/utils.py
as it was unnecessary (#472)"_coord_group_factor"
with "__factor_dim"
and "_coord_group_expr"
with "__expr_dim"
in dimension/coord names (#499)bambi/defaults
(#472)draws
parameter from Model.predict()
method (#504)Published by tomicapretto almost 3 years ago
This is a patch release where we fix a bug related to the shape of 2 level categorical group-specific effects (#441)
Published by tomicapretto almost 3 years ago
This release includes a mix of new features, fixes, and new examples on our webpage.
include_mean
argument to the method Model.fit()
(#434).set_alias()
method to Model
(#435)Published by aloctavodia about 3 years ago
Use formulae 0.2.0
Published by aloctavodia about 3 years ago
Minor fixes to code and docs
Published by tomicapretto about 3 years ago
Mainly changes to the docs and minor fixes.
Published by tomicapretto about 3 years ago
Many changes are included in this release. Some of the most important changes are
Published by tomicapretto over 3 years ago
The main changes in this release can be summarized as follows
Model
instantiation instead of in Model.fit()
.Published by tomicapretto over 3 years ago
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.
Published by aloctavodia over 3 years ago
The main change in this release is the use of formulae, instead of patsy, to parse model formulas.
Published by canyon289 almost 4 years ago