e93c9c662893d3bbb62e3cbfb1cba197a7e8c839,pymc/examples/factor_potential.py,,,#,3
Before Change
with Model() as model:
x = Normal("x", 1, 1)
model.AddPotential(-x ** 2)
start = model.test_point
h = find_hessian(start)
step = Metropolis(model.vars, h)
After Change
with Model() as model:
x = Normal("x", 1, 1)
x2 = Potential("x2", -x ** 2)
start = model.test_point
h = find_hessian(start)
step = Metropolis(model.vars, h)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: pymc-devs/pymc3
Commit Name: e93c9c662893d3bbb62e3cbfb1cba197a7e8c839
Time: 2014-03-25
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc/examples/factor_potential.py
Class Name:
Method Name:
Project Name: pymc-devs/pymc3
Commit Name: 27665f79dec99223242b137319be65793b337f4e
Time: 2014-03-29
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc/tests/test_distributions.py
Class Name:
Method Name: test_addpotential
Project Name: pymc-devs/pymc3
Commit Name: 27665f79dec99223242b137319be65793b337f4e
Time: 2014-03-29
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc/examples/factor_potential.py
Class Name:
Method Name:
Project Name: pymc-devs/pymc3
Commit Name: e93c9c662893d3bbb62e3cbfb1cba197a7e8c839
Time: 2014-03-25
Author: chris.fonnesbeck@vanderbilt.edu
File Name: pymc/tests/test_distributions.py
Class Name:
Method Name: test_addpotential