Recent Releases of https://github.com/jiayaobo/fenbux

https://github.com/jiayaobo/fenbux - fenbux v0.1.0 release! ! !

In this version, mainly

  • Add a bijector module, including Exp, Log, Scale, Tanh etc. bijectors, and
  • related functions transform, evaluate, ladj, ildj etc.

Usage:

Evaluate a bijector

```python import jax.numpy as jnp from fenbux.bijector import Exp, evaluate

bij = Exp() x = jnp.array([1., 2., 3.])

evaluate(bij, x) ```

Apply a bijector to a distribution

```python import jax.numpy as jnp from fenbux.bijector import Exp, transform from fenbux.univariate import Normal from fenbux import logpdf

dist = Normal(0, 1) bij = Exp()

log_normal = transform(dist, bij)

x = jnp.array([1., 2., 3.]) logpdf(log_normal, x) ```

- Python
Published by JiaYaobo almost 2 years ago

https://github.com/jiayaobo/fenbux - fenbux v0.0.4 released!

fenbux v0.0.4

  • Add more distributions: Cauchy, Dirichlet, Beta-Binomial ... https://github.com/JiaYaobo/fenbux/pull/11, https://github.com/JiaYaobo/fenbux/pull/10 ...
  • Modify docstrings
  • Modify performance https://github.com/JiaYaobo/fenbux/pull/8
  • Add fenbux-plum-dispatch dependency https://github.com/JiaYaobo/fenbux/pull/6

- Python
Published by JiaYaobo almost 2 years ago