@@ -332,7 +332,7 @@ def sample(
332
332
the ``draw.chain`` argument can be used to determine which of the active chains the sample
333
333
is drawn from.
334
334
Sampling can be interrupted by throwing a ``KeyboardInterrupt`` in the callback.
335
- jitter_max_retries: int
335
+ jitter_max_retries : int
336
336
Maximum number of repeated attempts (per chain) at creating an initial matrix with uniform jitter
337
337
that yields a finite probability. This applies to ``jitter+adapt_diag`` and ``jitter+adapt_full``
338
338
init methods.
@@ -1957,13 +1957,13 @@ def _init_jitter(model, chains, jitter_max_retries):
1957
1957
1958
1958
pymc3.util.check_start_vals is used to test whether the jittered starting values produce
1959
1959
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.
1961
1961
1962
1962
Parameters
1963
1963
----------
1964
1964
model : Model
1965
1965
chains : int
1966
- jitter_max_retries: int
1966
+ jitter_max_retries : int
1967
1967
Maximum number of repeated attempts at initializing values (per chain).
1968
1968
1969
1969
Returns
@@ -2039,7 +2039,7 @@ def init_nuts(
2039
2039
model : Model (optional if in ``with`` context)
2040
2040
progressbar : bool
2041
2041
Whether or not to display a progressbar for advi sampling.
2042
- jitter_max_retries: int
2042
+ jitter_max_retries : int
2043
2043
Maximum number of repeated attempts (per chain) at creating an initial matrix with uniform jitter
2044
2044
that yields a finite probability. This applies to ``jitter+adapt_diag`` and ``jitter+adapt_full``
2045
2045
init methods.
0 commit comments