Skip to content

Commit

Permalink
update docstring to clarify behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
digicosmos86 committed Jul 12, 2024
1 parent 3ed3418 commit dcc208c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hssm/hssm.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,9 @@ def sample(
Returns
-------
az.InferenceData | pm.Approximation
A reference to the `model.traces` object, which is an ArviZ `InferenceData`
instance if inference_method is `"mcmc"` (default), `"nuts_numpyro"`,
A reference to the `model.traces` object, which stores the traces of the
last call to `model.sample()`. `model.traces` is an ArviZ `InferenceData`
instance if `sampler` is `"mcmc"` (default), `"nuts_numpyro"`,
`"nuts_blackjax"` or "`laplace"`, or an `Approximation` object if `"vi"`.
"""
# If initvals are None (default)
Expand Down

0 comments on commit dcc208c

Please sign in to comment.