Open Chetanbuye12 opened 5 years ago
While using this piece of code !!!
with model: step = pm.Metropolis() trace = pm.sample(10000, tune=5000,step=step)
Gives an error !! ValueError: must use protocol 4 or greater to copy this object; since __getnewargs_ex__ returned keyword arguments.
I am using!! Python 3.5.6 pymc3 3.5
While using this piece of code !!!
Mysterious code to be explained in Chapter 3.
with model: step = pm.Metropolis() trace = pm.sample(10000, tune=5000,step=step)
Gives an error !! ValueError: must use protocol 4 or greater to copy this object; since __getnewargs_ex__ returned keyword arguments.
I am using!! Python 3.5.6 pymc3 3.5