mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-30 15:26:23 +02:00
[stationary] lengthscales will be scaled by variance now
This commit is contained in:
parent
be40307597
commit
45ede97d85
1 changed files with 4 additions and 4 deletions
|
|
@ -283,7 +283,7 @@ class Stationary(Kern):
|
|||
return np.zeros(X.shape)
|
||||
|
||||
def input_sensitivity(self, summarize=True):
|
||||
return np.ones(self.input_dim)/self.lengthscale**2
|
||||
return self.variance*np.ones(self.input_dim)/self.lengthscale**2
|
||||
|
||||
class Exponential(Stationary):
|
||||
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