rewritten dim_reduction demo to match new style of getters and setters

This commit is contained in:
Max Zwiessele 2013-04-24 11:17:13 +01:00
parent 000cd5dbb8
commit f8c3cd669d

View file

@ -207,7 +207,7 @@ def bgplvm_simulation(burnin='scg', plot_sim=False,
# cstr = 'X_variance'
# m.unconstrain(cstr), m.constrain_bounded(cstr, 1e-3, 1.)
m.set('X_var', np.ones(N * Q) * .5 + np.random.randn(N * Q) * .01)
m['X_var'] = np.ones(N * Q) * .5 + np.random.randn(N * Q) * .01
# cstr = "iip"
# m.unconstrain(cstr); m.constrain_fixed(cstr)