Skip to content

Commit 7d3fccb

Browse files
denadai2twiecki
authored andcommitted
Documentation minor fix. Parameter
1 parent 04b6ac7 commit 7d3fccb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pymc3/sampling.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def sample(draws, step=None, init='auto', n_init=200000, start=None,
115115
A step function or collection of functions. If there are variables
116116
without a step methods, step methods for those variables will
117117
be assigned automatically.
118-
init : str {'ADVI', 'ADVI_MAP', 'MAP', 'NUTS', None}
118+
init : str {'ADVI', 'ADVI_MAP', 'MAP', 'NUTS', 'auto', None}
119119
Initialization method to use. Only works for auto-assigned step methods.
120120
121121
* ADVI: Run ADVI to estimate starting points and diagonal covariance
@@ -290,15 +290,12 @@ def _sample(draws, step=None, start=None, trace=None, chain=0, tune=None,
290290

291291
def iter_sample(draws, step, start=None, trace=None, chain=0, tune=None,
292292
model=None, random_seed=-1):
293-
"""
294-
Generator that returns a trace on each iteration using the given
293+
"""Generator that returns a trace on each iteration using the given
295294
step method. Multiple step methods supported via compound step
296295
method returns the amount of time taken.
297296
298-
299297
Parameters
300298
----------
301-
302299
draws : int
303300
The number of samples to draw
304301
step : function

0 commit comments

Comments
 (0)