diff --git a/GPy/core/gp.py b/GPy/core/gp.py index 5b41f6d0..6fc127ea 100644 --- a/GPy/core/gp.py +++ b/GPy/core/gp.py @@ -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): """ diff --git a/GPy/core/model.py b/GPy/core/model.py index 47243b79..e04993cb 100644 --- a/GPy/core/model.py +++ b/GPy/core/model.py @@ -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.