Skip to content

Commit 7c95082

Browse files
committed
Small documentation formatting
1 parent 12769fa commit 7c95082

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pymc3/sampling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def sample(
332332
the ``draw.chain`` argument can be used to determine which of the active chains the sample
333333
is drawn from.
334334
Sampling can be interrupted by throwing a ``KeyboardInterrupt`` in the callback.
335-
jitter_max_retries: int
335+
jitter_max_retries : int
336336
Maximum number of repeated attempts (per chain) at creating an initial matrix with uniform jitter
337337
that yields a finite probability. This applies to ``jitter+adapt_diag`` and ``jitter+adapt_full``
338338
init methods.
@@ -1957,13 +1957,13 @@ def _init_jitter(model, chains, jitter_max_retries):
19571957
19581958
pymc3.util.check_start_vals is used to test whether the jittered starting values produce
19591959
a finite log probability. Invalid values are resampled unless `jitter_max_retries` is achieved,
1960-
in which case the last sampled values are returned
1960+
in which case the last sampled values are returned.
19611961
19621962
Parameters
19631963
----------
19641964
model : Model
19651965
chains : int
1966-
jitter_max_retries: int
1966+
jitter_max_retries : int
19671967
Maximum number of repeated attempts at initializing values (per chain).
19681968
19691969
Returns
@@ -2039,7 +2039,7 @@ def init_nuts(
20392039
model : Model (optional if in ``with`` context)
20402040
progressbar : bool
20412041
Whether or not to display a progressbar for advi sampling.
2042-
jitter_max_retries: int
2042+
jitter_max_retries : int
20432043
Maximum number of repeated attempts (per chain) at creating an initial matrix with uniform jitter
20442044
that yields a finite probability. This applies to ``jitter+adapt_diag`` and ``jitter+adapt_full``
20452045
init methods.

0 commit comments

Comments
 (0)