mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 05:22:38 +02:00
added gplbm and sparse gp to new parameterized structure
This commit is contained in:
parent
c8eac84d55
commit
3316d29341
13 changed files with 106 additions and 96 deletions
|
|
@ -46,7 +46,7 @@ def BGPLVM(seed=default_seed):
|
|||
|
||||
return m
|
||||
|
||||
def GPLVM_oil_100(optimize=True):
|
||||
def GPLVM_oil_100(optimize=True, plot=True):
|
||||
data = GPy.util.datasets.oil_100()
|
||||
Y = data['X']
|
||||
|
||||
|
|
@ -61,7 +61,8 @@ def GPLVM_oil_100(optimize=True):
|
|||
|
||||
# plot
|
||||
print(m)
|
||||
m.plot_latent(labels=m.data_labels)
|
||||
if plot:
|
||||
m.plot_latent(labels=m.data_labels)
|
||||
return m
|
||||
|
||||
def sparseGPLVM_oil(optimize=True, N=100, input_dim=6, num_inducing=15, max_iters=50):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue