HACK: plot_ARD is additive, should think of making it selectable through parameter handle

This commit is contained in:
mzwiessele 2014-04-28 15:13:58 +01:00
parent debaf8315d
commit 79e0f54c53

View file

@ -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..."")