Skip to content

mixle 0.6.0

Choose a tag to compare

@gmboquet gmboquet released this 29 Jun 09:04

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 in summary().
  • Lighter fitting API: optimize/fit accept a distribution prototype or just the data (estimator inferred); fit forwards every optimize knob.
  • Categorical(free) / Dirichlet(free) infer their dimension from the data; unified streaming estimators.

Originally developed at Lawrence Livermore National Laboratory (LLNL-CODE-844837).