metabeta: amortized Bayesian inference for generalized linear mixed-effects models
Notes cover the changes since 0.6.0. pip install metabeta==0.6.1 Many datasets in one call sample takes a list, a tuple or a dict of DataFrames under one formula, one set of priors and one preprocessing, and returns the same container with one result per dataset (#41). Each result carries its own parameter names, scale information and group labels, so every report works on it unchanged. Datasets that need different submodels, e.g. because a categorical predictor has a different number of levels, run in one call (#41). A dataset that cannot be prepared is skipped: None takes its place, and one warning lists the skipped datasets with their reasons, e.g. (3, 0): the dataset is outside the checkpoint's limits: ... (#41, #42). If every dataset fails, the first error is raised with the dataset named. Warnings name datasets by their key or index, and by the pair of dataset and prior under several priors; lists are cut after ten entries (#41). A batch from prepareData(df, formula=...) carries the dataset's names, scale information and group labels, so sample on it reports like sample(df) (#43). batch size chunks every stage of sample , the network pass included; a chunk holds 64 rows on the CPU and 256 on CUDA by default, and a call of several chunks shows a progress bar (#40, #42). Deprecated, removed in 0.7 The 0.6.0 aliases still work and raise a FutureWarning . sample(diagnostics=True) : use loo=True . batch index= in posteriorSummary and rfxSummary , and index= in plotParameters : use prior id= . indices= in plotPPD : use prior ids= .
- Link
- https://zenodo.org/records/24032820
- Found by
- Zenodo
- Authors
- Kipnis, Alex
- Categories
- dataset
- Published
- 2026-11-07
- Last seen by the radar
- 2026-11-07
- Downloads
- 3
- Views
- 12
- Radar score
- 37.46 / 100 (how it is scored)
- Why it scored so
- Matched: dataset; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.24032820