mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
fixed import issue
This commit is contained in:
parent
48f5c7fa15
commit
37800d7270
1 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import numpy as np
|
|||
from ..core import Model
|
||||
from paramz import ObsAr
|
||||
from .. import likelihoods
|
||||
from .. import kern
|
||||
|
||||
class GPKroneckerGaussianRegression(Model):
|
||||
"""
|
||||
|
|
@ -32,9 +33,9 @@ class GPKroneckerGaussianRegression(Model):
|
|||
Model.__init__(self, name=name)
|
||||
|
||||
if kern1 is None:
|
||||
kern1 = GPy.kern.RBF(X1.shape[1])
|
||||
kern1 = kern.RBF(X1.shape[1])
|
||||
if kern2 is None:
|
||||
kern2 = GPy.kern.RBF(X2.shape[1])
|
||||
kern2 = kern.RBF(X2.shape[1])
|
||||
|
||||
# accept the construction arguments
|
||||
self.X1 = ObsAr(X1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue