mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
[prod] fix #388
This commit is contained in:
parent
dd22687b5e
commit
85a8db7ed8
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class Prod(CombinationKernel):
|
||||||
|
|
||||||
def input_sensitivity(self, summarize=True):
|
def input_sensitivity(self, summarize=True):
|
||||||
if summarize:
|
if summarize:
|
||||||
i_s = np.zeros((self.input_dim))
|
i_s = np.ones((self.input_dim))
|
||||||
for k in self.parts:
|
for k in self.parts:
|
||||||
i_s[k._all_dims_active] *= k.input_sensitivity(summarize)
|
i_s[k._all_dims_active] *= k.input_sensitivity(summarize)
|
||||||
return i_s
|
return i_s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue