File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 81
81
"SMC_kernel" : ":ref:`SMC Kernel <smc_kernels>`" ,
82
82
"Aesara_Op" : ":class:`Aesara Op <aesara.graph.op.Op>`" ,
83
83
"tensor_like" : ":term:`tensor_like`" ,
84
- "numpy_Generator" : ":class:`~numpy.random.Generator`"
84
+ "numpy_Generator" : ":class:`~numpy.random.Generator`" ,
85
+ "Distribution" : ":ref:`Distribution <api_distributions>`" ,
85
86
}
86
87
87
88
# Show the documentation of __init__ and the class docstring
Original file line number Diff line number Diff line change @@ -217,20 +217,21 @@ def rng_fn(
217
217
218
218
219
219
class GaussianRandomWalk (distribution .Continuous ):
220
- r"""Random Walk with Normal innovations
220
+ r"""Random Walk with Normal innovations.
221
221
222
222
Parameters
223
223
----------
224
- mu : tensor_like of float
225
- innovation drift, defaults to 0.0
226
- sigma : tensor_like of float, optional
227
- sigma > 0, innovation standard deviation, defaults to 1.0
228
- init_dist : unnamed distribution
229
- Univariate distribution of the initial value, created with the `.dist()` API.
224
+ mu : tensor_like of float, default 0
225
+ innovation drift
226
+ sigma : tensor_like of float, default 1
227
+ sigma > 0, innovation standard deviation.
228
+ init_dist : Distribution
229
+ Unnamed univariate distribution of the initial value. Unnamed refers to distributions
230
+ created with the ``.dist()`` API.
230
231
231
232
.. warning:: init will be cloned, rendering them independent of the ones passed as input.
232
233
233
- steps : int, optional
234
+ steps : tensor_like of int, optional
234
235
Number of steps in Gaussian Random Walk (steps > 0). Only needed if shape is not
235
236
provided.
236
237
"""
You can’t perform that action at this time.
0 commit comments