mixle 0.6.0
First release under the mixle name (formerly pysparkplug / pysp). pip install mixle; import mixle.
Automatic inference for composable models of heterogeneous data — a model and the estimator that fits it have the same shape, and fit chooses the inference (conjugate / EM / MAP / variational / MCMC) from the model itself.
Highlights:
- PPL language core: deterministic-expression slots (
Normal(a + b, sd)),potential()custom log-factors,.each()/.each(by=...)random effects, non-Normal GLMMs (Poisson/Bernoulli(... + Group)), data-indexed latents (theta[Field("g")]), and per-parameter R̂/ESS insummary(). - Lighter fitting API:
optimize/fitaccept a distribution prototype or just the data (estimator inferred);fitforwards everyoptimizeknob. Categorical(free)/Dirichlet(free)infer their dimension from the data; unified streaming estimators.
Originally developed at Lawrence Livermore National Laboratory (LLNL-CODE-844837).