mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
Add param descriptions
This commit is contained in:
parent
8ef7706fe5
commit
1a42cbd342
1 changed files with 5 additions and 1 deletions
|
|
@ -30,9 +30,13 @@ class Symmetric(Kern):
|
||||||
k(x, x') \pm k(Ax, x') \pm k(x, Ax') + k(Ax, Ax')
|
k(x, x') \pm k(Ax, x') \pm k(x, Ax') + k(Ax, Ax')
|
||||||
|
|
||||||
where k(x, x') is the kernel of g(x)
|
where k(x, x') is the kernel of g(x)
|
||||||
|
|
||||||
|
:param base_kernel: kernel to make symmetric
|
||||||
|
:param transform: transformation matrix describing symmetry plane, A in equations above
|
||||||
|
:param symmetry_type: 'odd' or 'even' depending on the symmetry needed
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, base_kernel, transform, symmetry_type):
|
def __init__(self, base_kernel, transform, symmetry_type='even'):
|
||||||
|
|
||||||
super().__init__(1, [0], name='symmetric_kernel')
|
super().__init__(1, [0], name='symmetric_kernel')
|
||||||
if symmetry_type is 'odd':
|
if symmetry_type is 'odd':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue