mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
[stationary] input_sensitiviy is now 1/(l**2)
This commit is contained in:
parent
533e5fb744
commit
76718a8fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class Stationary(Kern):
|
||||||
return np.zeros(X.shape)
|
return np.zeros(X.shape)
|
||||||
|
|
||||||
def input_sensitivity(self):
|
def input_sensitivity(self):
|
||||||
return np.ones(self.input_dim)/self.lengthscale
|
return np.ones(self.input_dim)/self.lengthscale**2
|
||||||
|
|
||||||
class Exponential(Stationary):
|
class Exponential(Stationary):
|
||||||
def __init__(self, input_dim, variance=1., lengthscale=None, ARD=False, active_dims=None, name='Exponential'):
|
def __init__(self, input_dim, variance=1., lengthscale=None, ARD=False, active_dims=None, name='Exponential'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue