From 76718a8fcc14dd435c8f8d2a9b153fb55fccc5fd Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Tue, 20 May 2014 14:47:28 +0100 Subject: [PATCH] [stationary] input_sensitiviy is now 1/(l**2) --- GPy/kern/_src/stationary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/kern/_src/stationary.py b/GPy/kern/_src/stationary.py index f561baa4..ef8900f9 100644 --- a/GPy/kern/_src/stationary.py +++ b/GPy/kern/_src/stationary.py @@ -180,7 +180,7 @@ class Stationary(Kern): return np.zeros(X.shape) def input_sensitivity(self): - return np.ones(self.input_dim)/self.lengthscale + return 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'):