mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-14 16:32:15 +02:00
fixing coreg kernel
This commit is contained in:
parent
7b42fa535d
commit
5d6b26f3f5
1 changed files with 2 additions and 2 deletions
|
|
@ -34,8 +34,8 @@ class Coregionalize(Kern):
|
||||||
|
|
||||||
.. note: see coregionalization examples in GPy.examples.regression for some usage.
|
.. note: see coregionalization examples in GPy.examples.regression for some usage.
|
||||||
"""
|
"""
|
||||||
def __init__(self, output_dim, rank=1, W=None, kappa=None, name='coregion'):
|
def __init__(self, input_dim, output_dim, rank=1, W=None, kappa=None, name='coregion'):
|
||||||
super(Coregionalize, self).__init__(input_dim=1, name=name)
|
super(Coregionalize, self).__init__(input_dim, name=name)
|
||||||
self.output_dim = output_dim
|
self.output_dim = output_dim
|
||||||
self.rank = rank
|
self.rank = rank
|
||||||
if self.rank>output_dim:
|
if self.rank>output_dim:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue