Modified log_like_gradients to make it _log_like_gradients and moved extract_gradient to _log_like_gradients_transformed.

This commit is contained in:
Neil Lawrence 2013-01-18 13:47:37 +00:00
parent 333d8d3e5f
commit b43db3f8da
9 changed files with 13 additions and 13 deletions

View file

@ -49,8 +49,8 @@ class sparse_GPLVM(sparse_GP_regression, GPLVM):
return dL_dX
def log_likelihood_gradients(self):
return np.hstack((self.dL_dX().flatten(), sparse_GP_regression.log_likelihood_gradients(self)))
def _log_likelihood_gradients(self):
return np.hstack((self.dL_dX().flatten(), sparse_GP_regression._log_likelihood_gradients(self)))
def plot(self):
GPLVM.plot(self)