Skip to content

Ch3.type error at Example: Unsupervised Clustering using a Mixture Model #552

Open
@hungyangtsai

Description

@hungyangtsai

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions