moved input_sensitivity to the gp class

This commit is contained in:
James Hensman 2014-03-27 10:08:45 +00:00
parent 81040f4566
commit a74965b038
2 changed files with 6 additions and 6 deletions

View file

@ -208,6 +208,12 @@ class GP(Model):
from ..plotting.matplot_dep import models_plots
return models_plots.plot_fit(self,*args,**kwargs)
def input_sensitivity(self):
"""
Returns the sensitivity for each dimension of this model
"""
return self.kern.input_sensitivity()
def _getstate(self):
"""

View file

@ -141,12 +141,6 @@ 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):
"""
The objective function for the given algorithm.