mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 04:46:23 +02:00
[baseline] images adjusted and checked for testing including gplvm
This commit is contained in:
parent
d1323f18de
commit
e9bad5c18f
42 changed files with 6 additions and 2 deletions
|
|
@ -426,8 +426,10 @@ def test_gplvm():
|
|||
with warnings.catch_warnings(record=True) as w:
|
||||
warnings.simplefilter('always') # always print
|
||||
m = GPLVM(Y, Q, initialize=False)
|
||||
m.param_array[:] = pars['gplvm_p']
|
||||
m.update_model(False)
|
||||
m.initialize_parameter()
|
||||
m[:] = pars['gplvm_p']
|
||||
m.update_model(True)
|
||||
|
||||
#m.optimize(messages=0)
|
||||
np.random.seed(111)
|
||||
|
|
@ -472,8 +474,10 @@ def test_bayesian_gplvm():
|
|||
with warnings.catch_warnings(record=True) as w:
|
||||
warnings.simplefilter('always') # always print
|
||||
m = BayesianGPLVM(Y, Q, initialize=False)
|
||||
m.param_array[:] = pars['bgplvm_p']
|
||||
m.update_model(False)
|
||||
m.initialize_parameter()
|
||||
m[:] = pars['bgplvm_p']
|
||||
m.update_model(True)
|
||||
|
||||
#m.optimize(messages=0)
|
||||
np.random.seed(111)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue