mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 20:42:39 +02:00
HACK: plot_ARD is additive, should think of making it selectable through parameter handle
This commit is contained in:
parent
debaf8315d
commit
79e0f54c53
1 changed files with 1 additions and 4 deletions
|
|
@ -238,7 +238,4 @@ class CombinationKernel(Kern):
|
||||||
return input_dim, active_dims
|
return input_dim, active_dims
|
||||||
|
|
||||||
def input_sensitivity(self):
|
def input_sensitivity(self):
|
||||||
in_sen = np.zeros((self.num_params, self.input_dim))
|
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..."")
|
||||||
for i, p in enumerate(self.parts):
|
|
||||||
in_sen[i, p.active_dims] = p.input_sensitivity()
|
|
||||||
return in_sen
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue