pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Model docstring is outdated

Open ferrine opened this issue 3 years ago • 2 comments

We no longer have self.Var("name", dist) to register random variables. We need to fix that with a correct API call

https://github.com/pymc-devs/pymc/blob/ad16bf48a1703b80cee3d3fef9df1dd0ae552d7c/pymc/model.py#L469

ferrine avatar Aug 09 '22 11:08 ferrine

Pretty new to pymc. I can fix that today, but by correct API call do you mean something like this:

with pm.Model() as exemple: mu = pm.Normal('mu', mu=0, sigma=1) # < ---

Thanks for the work between this package is awesome.

alekracicot avatar Aug 09 '22 15:08 alekracicot

The new equivalent to that would be model.register_rv

ricardoV94 avatar Aug 10 '22 11:08 ricardoV94