maint: Wrap very long lines (> 450 chars)

This commit is contained in:
Julien Bect 2020-06-24 06:39:40 +02:00 committed by Neil Lawrence
parent 1d549ca5c6
commit d754bc12de
5 changed files with 58 additions and 15 deletions

View file

@ -434,7 +434,14 @@ class CombinationKernel(Kern):
[setitem(i_s, (i, k._all_dims_active), k.input_sensitivity(summarize)) for i, k in enumerate(parts)]
return i_s
else:
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...")
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...")
def _check_active_dims(self, X):
return