Ch3.type error at Example: Unsupervised Clustering using a Mixture Model
hungyangtsai opened this issue · 2 comments
hungyangtsai commented
when i ran code bellow ~
with model:
step1 = pm.Metropolis(vars=[p, sds, centers])
step2 = pm.ElemwiseCategorical(vars=[assignment])
trace = pm.sample(25000, step=[step1, step2])
show error message:
TypeError: Unknown parameter type: <class 'theano.tensor.var.TensorVariable'>
Can anyone tell me what's happen? I had not change any code, just ran it。
I used pymc3。
Thanks!
JosephZahar commented
Try the following and then run back the code :)
conda install -c conda-forge pymc3=3.11.0
hungyangtsai commented
Try the following and then run back the code :)
conda install -c conda-forge pymc3=3.11.0
I'm so sorry to reply your command too late, I tried on a new computer,and it's work,but old one still didn't。Thanks your help!