mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 12:32:40 +02:00
switch input_sensitivity function to model
This commit is contained in:
parent
0f37cc721b
commit
b9dcb7f640
4 changed files with 14 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ class Kern(Parameterized):
|
|||
"""
|
||||
Returns the sensitivity for each dimension of this kernel.
|
||||
"""
|
||||
return np.zeros(self.input_dim)
|
||||
return self.kern.input_sensitivity()
|
||||
|
||||
def __add__(self, other):
|
||||
""" Overloading of the '+' operator. for more control, see self.add """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue