[SSGPLVM] fix plot_latent

This commit is contained in:
Zhenwen Dai 2014-03-04 10:43:29 +00:00
parent 0258abf5c4
commit c29c4e20c1

View file

@ -67,8 +67,11 @@ class SSGPLVM(SparseGP):
self.variational_prior.update_gradients_KL(self.X)
def plot_latent(self, plot_inducing=True, *args, **kwargs):
pass
#return plot_latent.plot_latent(self, plot_inducing=plot_inducing, *args, **kwargs)
import sys
assert "matplotlib" in sys.modules, "matplotlib package has not been imported."
from ..plotting.matplot_dep import dim_reduction_plots
return dim_reduction_plots.plot_latent(self, plot_inducing=plot_inducing, *args, **kwargs)
def do_test_latents(self, Y):
"""