We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122d0f4 commit 1a2503fCopy full SHA for 1a2503f
examples/factor_potential.py
@@ -4,7 +4,7 @@
4
x = Normal('x', 1,1)
5
model.AddPotential(-x**2)
6
7
-
8
- h = find_hessian()
9
- step = Metropolis(h)
10
- trace = sample(3000, step)
+ start = model.test_point
+ h = find_hessian(start)
+ step = Metropolis(model.vars, h)
+ trace = sample(3000, step, start)
0 commit comments