mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
bug fixed
This commit is contained in:
parent
b44fee93c4
commit
1a0e16a6f3
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ class GPCoregionalizedRegression(GP):
|
||||||
|
|
||||||
#Kernel
|
#Kernel
|
||||||
if kernel is None:
|
if kernel is None:
|
||||||
kernel = util.multioutput.ICM(input_dim=X.shape[1]-1, num_outputs=Ny, kernel=GPy.kern.rbf(X.shape[1]-1), W_rank=1,name=kernel_name)
|
kernel = util.multioutput.ICM(input_dim=X.shape[1]-1, num_outputs=Ny, kernel=kern.RBF(X.shape[1]-1), W_rank=1,name=kernel_name)
|
||||||
|
|
||||||
#Likelihood
|
#Likelihood
|
||||||
likelihood = util.multioutput.build_likelihood(Y_list,self.output_index,likelihoods_list)
|
likelihood = util.multioutput.build_likelihood(Y_list,self.output_index,likelihoods_list)
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ class SparseGPCoregionalizedRegression(SparseGP):
|
||||||
|
|
||||||
#Kernel
|
#Kernel
|
||||||
if kernel is None:
|
if kernel is None:
|
||||||
kernel = util.multioutput.ICM(input_dim=X.shape[1]-1, num_outputs=Ny, kernel=GPy.kern.rbf(X.shape[1]-1), W_rank=1,name=kernel_name)
|
kernel = util.multioutput.ICM(input_dim=X.shape[1]-1, num_outputs=Ny, kernel=kern.RBF(X.shape[1]-1), W_rank=1,name=kernel_name)
|
||||||
|
|
||||||
#Likelihood
|
#Likelihood
|
||||||
likelihood = util.multioutput.build_likelihood(Y_list,self.output_index,likelihoods_list)
|
likelihood = util.multioutput.build_likelihood(Y_list,self.output_index,likelihoods_list)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue