switch input_sensitivity function to model

This commit is contained in:
Zhenwen Dai 2014-03-04 14:25:11 +00:00
parent 0f37cc721b
commit b9dcb7f640
4 changed files with 14 additions and 2 deletions

View file

@ -147,6 +147,12 @@ class Model(Parameterized):
"""
raise DeprecationWarning, 'parameters now have default constraints'
def input_sensitivity(self):
"""
Returns the sensitivity for each dimension of this kernel.
"""
return self.kern.input_sensitivity()
def objective_function(self, x):
"""
The objective function passed to the optimizer. It combines