Skip to content

Commit

Permalink
Updated LocScaleReparam's documentation (#1599)
Browse files Browse the repository at this point in the history
* Update reparam.py

Refer #1598

* Making suggested changes
  • Loading branch information
Madhav-Kanda committed Jun 1, 2023
1 parent 5291d06 commit 4e3c50e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion numpyro/infer/reparam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e3c50e

Please sign in to comment.