sample_shape()

Contents

sample_shape()#

liesel_ptm.sample_shape(prng_key, nshape, scale=1.0)[source]#

Draws a random sample of the shape parameters \(\boldsymbol{\delta}\) from a first order random walk prior.

Parameters:
  • prng_key (Any) – A jax.random.PRNGKey for reproducibility.

  • nshape (int) – Number of shape parameters.

  • scale (float) – Scale of the random walk in the shape parameter’s prior. (default: 1.0)

Return type:

ShapeParamSample