Skip to content

Commit ca5ab1f

Browse files
authored
extra updates
1 parent 49b168f commit ca5ab1f

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181
"SMC_kernel": ":ref:`SMC Kernel <smc_kernels>`",
8282
"Aesara_Op": ":class:`Aesara Op <aesara.graph.op.Op>`",
8383
"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>`",
8586
}
8687

8788
# Show the documentation of __init__ and the class docstring

pymc/distributions/timeseries.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,20 +217,21 @@ def rng_fn(
217217

218218

219219
class GaussianRandomWalk(distribution.Continuous):
220-
r"""Random Walk with Normal innovations
220+
r"""Random Walk with Normal innovations.
221221
222222
Parameters
223223
----------
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.
230231
231232
.. warning:: init will be cloned, rendering them independent of the ones passed as input.
232233
233-
steps : int, optional
234+
steps : tensor_like of int, optional
234235
Number of steps in Gaussian Random Walk (steps > 0). Only needed if shape is not
235236
provided.
236237
"""

0 commit comments

Comments
 (0)