mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
didnt realize last 2 changes went to PR, undoing
This commit is contained in:
parent
37800d7270
commit
c3c98652d1
1 changed files with 1 additions and 7 deletions
|
|
@ -5,7 +5,6 @@ import numpy as np
|
|||
from ..core import Model
|
||||
from paramz import ObsAr
|
||||
from .. import likelihoods
|
||||
from .. import kern
|
||||
|
||||
class GPKroneckerGaussianRegression(Model):
|
||||
"""
|
||||
|
|
@ -29,14 +28,9 @@ class GPKroneckerGaussianRegression(Model):
|
|||
}
|
||||
|
||||
"""
|
||||
def __init__(self, X1, X2, Y, kern1=None, kern2=None, noise_var=1., name='KGPR'):
|
||||
def __init__(self, X1, X2, Y, kern1, kern2, noise_var=1., name='KGPR'):
|
||||
Model.__init__(self, name=name)
|
||||
|
||||
if kern1 is None:
|
||||
kern1 = kern.RBF(X1.shape[1])
|
||||
if kern2 is None:
|
||||
kern2 = kern.RBF(X2.shape[1])
|
||||
|
||||
# accept the construction arguments
|
||||
self.X1 = ObsAr(X1)
|
||||
self.X2 = ObsAr(X2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue