Probabilistic-Programming-and-Bayesian-Methods-for-Hackers icon indicating copy to clipboard operation
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard

Chapter 2: deterministic variable name fixed

Open a-n-ermakov opened this issue 5 years ago • 1 comments

a-n-ermakov avatar Feb 05 '20 20:02 a-n-ermakov

This confused me today too. I'd suggest removing this line entirely as it seems to have been copied from the PyMC2 version of Ch2, where a function is actually being declared:

@pm.deterministic
def some_deterministic_var(v1=v1,):
     #jelly goes here.

For all purposes, we can treat the object some_deterministic_var as a variable and not a Python function.

However same the sentence doesn't make sense for PyMC3.

linbug avatar May 01 '21 14:05 linbug