I am trying to sample a Turing model with this Gibbs sampler:
sampler = Gibbs(PG(200, :toss), NUTS(.65, :a, :b, :θ, :σ, :μ, :temp))
Unfortunately, while making sure some of my code was correct, I have set a, b, \mu to some values. When I try to run this line of code, I get the error
MethodError: Cannot `convert` an object of type Float64 to an object of type Symbol
I tried setting these variables to the keyword nothing. But that didn’t help. I tried clear!(:a) but that is throwing up an error.
I’m on Julia 1.4.1. Please help, am I reading this error correctly? How do I fix it, short of closing my workspace and starting the kernel again?
2 posts - 2 participants