We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1de92 commit b58c4c2Copy full SHA for b58c4c2
causalpy/pymc_models.py
@@ -10,12 +10,13 @@
10
class ModelBuilder(pm.Model):
11
"""
12
This is a wrapper around pm.Model to give scikit-learn like API.
13
-
14
- :param sample_kwargs: A dictionary of kwargs that get unpacked and passed to the
15
- :func:`pymc.sample` function. Defaults to an empty dictionary.
16
17
18
def __init__(self, sample_kwargs: Optional[Dict[str, Any]] = None):
+ """
+ :param sample_kwargs: A dictionary of kwargs that get unpacked and passed to the
+ :func:`pymc.sample` function. Defaults to an empty dictionary.
19
20
super().__init__()
21
self.idata = None
22
self.sample_kwargs = sample_kwargs if sample_kwargs is not None else {}
0 commit comments