diff --git a/GPy/kern/_src/kern.py b/GPy/kern/_src/kern.py index 6daff739..3fd066df 100644 --- a/GPy/kern/_src/kern.py +++ b/GPy/kern/_src/kern.py @@ -238,7 +238,4 @@ class CombinationKernel(Kern): return input_dim, active_dims def input_sensitivity(self): - in_sen = np.zeros((self.num_params, self.input_dim)) - for i, p in enumerate(self.parts): - in_sen[i, p.active_dims] = p.input_sensitivity() - return in_sen + raise NotImplementedError("Choose the kernel you want to get the sensitivity for. You need to override the default behaviour for getting the input sensitivity to be able to get the input sensitivity. For sum kernel it is the sum of all sensitivities, TODO: product kernel? Other kernels?, also TODO: shall we return all the sensitivities here in the combination kernel? So we can combine them however we want? This could lead to just plot all the sensitivities here..."") \ No newline at end of file