CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.51k stars 7.84k forks source link

Chapter 2: model.initial_values AttributeError: 'Model' object has no attribute 'initial_values' #567

Open rwst opened 5 months ago

rwst commented 5 months ago

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.

rwst commented 5 months ago

OK, it looks like this has changed in PyMC to: model.initial_point()