Probabilistic-Programming-and-Bayesian-Methods-for-Hackers
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard
Chapter 2: model.initial_values AttributeError: 'Model' object has no attribute 'initial_values'
The third cell will not work, it gives me:
In [3]: model.initial_values
AttributeError: 'Model' object has no attribute 'initial_values'
This is a conda installation of pymc 5.10.3. I had no problems running Chapter 1.
OK, it looks like this has changed in PyMC to:
model.initial_point()
model.initial_point() solved it for me
+1 solution worked for me as well