mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
Removed depricated max_f_eval from bgplvm_simulation
This commit is contained in:
parent
13e0762e18
commit
4eff552688
1 changed files with 2 additions and 3 deletions
|
|
@ -241,7 +241,7 @@ def bgplvm_simulation_matlab_compare():
|
||||||
|
|
||||||
def bgplvm_simulation(optimize='scg',
|
def bgplvm_simulation(optimize='scg',
|
||||||
plot=True,
|
plot=True,
|
||||||
max_f_eval=2e4):
|
max_iters=2e4):
|
||||||
# from GPy.core.transformations import logexp_clipped
|
# from GPy.core.transformations import logexp_clipped
|
||||||
D1, D2, D3, N, num_inducing, Q = 15, 8, 8, 100, 3, 5
|
D1, D2, D3, N, num_inducing, Q = 15, 8, 8, 100, 3, 5
|
||||||
slist, Slist, Ylist = _simulate_sincos(D1, D2, D3, N, num_inducing, Q, plot)
|
slist, Slist, Ylist = _simulate_sincos(D1, D2, D3, N, num_inducing, Q, plot)
|
||||||
|
|
@ -262,8 +262,7 @@ def bgplvm_simulation(optimize='scg',
|
||||||
|
|
||||||
if optimize:
|
if optimize:
|
||||||
print "Optimizing model:"
|
print "Optimizing model:"
|
||||||
m.optimize(optimize, max_iters=max_f_eval,
|
m.optimize(optimize, max_iters=max_iters,
|
||||||
max_f_eval=max_f_eval,
|
|
||||||
messages=True, gtol=.05)
|
messages=True, gtol=.05)
|
||||||
if plot:
|
if plot:
|
||||||
m.plot_X_1d("BGPLVM Latent Space 1D")
|
m.plot_X_1d("BGPLVM Latent Space 1D")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue