fixed bug in RBF, added inducing inputs to BGPLVM plots

This commit is contained in:
Nicolo Fusi 2013-03-11 18:43:59 +00:00
parent 129bb3924e
commit b336d91473
4 changed files with 9 additions and 4 deletions

View file

@ -83,3 +83,7 @@ class Bayesian_GPLVM(sparse_GP, GPLVM):
def _log_likelihood_gradients(self):
return np.hstack((self.dL_dmuS().flatten(), sparse_GP._log_likelihood_gradients(self)))
def plot_latent(self, *args, **kwargs):
input_1, input_2 = GPLVM.plot_latent(*args, **kwargs)
pb.plot(m.Z[:, input_1], m.Z[:, input_2], '^w')