Chapter 2: model.initial_values AttributeError: 'Model' object has no attribute 'initial_values'
rwst opened this issue · 4 comments
rwst commented
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
OK, it looks like this has changed in PyMC to:
model.initial_point()
ant358 commented
model.initial_point() solved it for me
TomHilder commented
+1 solution worked for me as well
lubitelpospat commented
@TomHilder @ant358 @rwst it seems like now (PyMC version 5.19.1) model.rvs_to_initial_values is more similar to the PyMC4's model.initial_values.