From 09ee9e5fab8c7819def1a6ebabdefaac7a69ed03 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 17 Jul 2013 15:43:46 +0100 Subject: [PATCH] bayesian gplvm plots inducing inputs automatically --- GPy/models/bayesian_gplvm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPy/models/bayesian_gplvm.py b/GPy/models/bayesian_gplvm.py index 68b0a133..ac6c7c69 100644 --- a/GPy/models/bayesian_gplvm.py +++ b/GPy/models/bayesian_gplvm.py @@ -115,8 +115,8 @@ class BayesianGPLVM(SparseGP, GPLVM): self.dbound_dZtheta = SparseGP._log_likelihood_gradients(self) return np.hstack((self.dbound_dmuS.flatten(), self.dbound_dZtheta)) - def plot_latent(self, *args, **kwargs): - return plot_latent.plot_latent(self, *args, **kwargs) + def plot_latent(self, plot_inducing=True, *args, **kwargs): + return plot_latent.plot_latent(self, plot_inducing=plot_inducing, *args, **kwargs) def do_test_latents(self, Y): """