Changes to MRD test

This commit is contained in:
Ricardo 2013-05-20 16:59:35 +01:00
parent 255a9bbd73
commit f01abb849f
2 changed files with 4 additions and 1 deletions

View file

@ -32,6 +32,8 @@ class Bayesian_GPLVM(sparse_GP, GPLVM):
**kwargs):
if type(likelihood_or_Y) is np.ndarray:
likelihood = Gaussian(likelihood_or_Y)
else:
likelihood = likelihood_or_Y
if X == None:
X = self.initialise_latent(init, Q, likelihood.Y)