Skip to content

Doc change the default value of pymc.draw from 500 to 1. #5543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pymc/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2125,18 +2125,18 @@ def draw(

Parameters
----------
vars
vars : Variable or iterable of Variable
A variable or a list of variables for which to draw samples.
draws : int
Number of samples needed to draw. Detaults to 500.
mode
The mode used by ``aesara.function`` to compile the graph.
**kwargs
Keyword arguments for :func:`pymc.aesara.compile_pymc`
draws : int, default 1
Number of samples needed to draw.
mode : str or aesara.compile.mode.Mode, optional
The mode used by :func:`aesara.function` to compile the graph.
**kwargs : dict, optional
Keyword arguments for :func:`pymc.aesara.compile_pymc`.

Returns
-------
List[np.ndarray]
list of ndarray
A list of numpy arrays.

Examples
Expand Down