From d895776d6eece98b5d524b25a2ef1ef123d2b1f4 Mon Sep 17 00:00:00 2001 From: Madhav Kanda <76394914+Madhav-Kanda@users.noreply.github.com> Date: Thu, 1 Jun 2023 21:07:11 +0300 Subject: [PATCH] Updated LocScaleReparam's documentation (#1599) * Update reparam.py Refer #1598 * Making suggested changes --- numpyro/infer/reparam.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/numpyro/infer/reparam.py b/numpyro/infer/reparam.py index 57bd4bc8d..0a414e0ab 100644 --- a/numpyro/infer/reparam.py +++ b/numpyro/infer/reparam.py @@ -73,7 +73,9 @@ class LocScaleReparam(Reparam): Maria I. Gorinova, Dave Moore, Matthew D. Hoffman (2019) :param float centered: optional centered parameter. If None (default) learn - a per-site per-element centering parameter in ``[0,1]``. If 0, fully + a per-site per-element centering parameter in ``[0,1]`` initialized at value 0.5. + To sample the parameter, consider using :class:`~numpyro.handlers.lift` handler with a + prior like ``Uniform(0, 1)`` to cast the parameter to a latent variable. If 0, fully decenter the distribution; if 1, preserve the centered distribution unchanged. :param shape_params: list of additional parameter names to copy unchanged from