mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 10:32:39 +02:00
bounds added
This commit is contained in:
parent
04261f045b
commit
061f35e8fd
1 changed files with 3 additions and 1 deletions
|
|
@ -155,8 +155,10 @@ def mrd_simulation(plot_sim=False):
|
|||
|
||||
k = GPy.kern.rbf(Q, ARD=True) + GPy.kern.bias(Q) + GPy.kern.white(Q)
|
||||
|
||||
m = MRD(Y1, Y2, Q=Q, M=M, kernel=k, init="concat", _debug=True)
|
||||
m = MRD(Y1, Y2, Q=Q, M=M, kernel=k, init="concat", _debug=False)
|
||||
m.ensure_default_constraints()
|
||||
cstr = "noise|white"
|
||||
m.unconstrain(cstr); m.constrain_bounded(cstr, 1e-3, 1.)
|
||||
|
||||
# fig = pyplot.figure("expected", figsize=(8, 3))
|
||||
# ax = fig.add_subplot(121)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue