diff --git a/GPy/util/plot_latent.py b/GPy/util/plot_latent.py index 997f3df2..9ebc5a4e 100644 --- a/GPy/util/plot_latent.py +++ b/GPy/util/plot_latent.py @@ -41,9 +41,8 @@ def plot_latent(model, labels=None, which_indices=None, # first, plot the output variance as a function of the latent space Xtest, xx, yy, xmin, xmax = util.plot.x_frame2D(model.X[:, [input_1, input_2]], resolution=resolution) #Xtest_full = np.zeros((Xtest.shape[0], model.X.shape[1])) - + Xtest_full = np.zeros((Xtest.shape[0], model.X.shape[1])) def plot_function(x): - Xtest_full = np.zeros((Xtest.shape[0], model.X.shape[1])) Xtest_full[:, [input_1, input_2]] = x mu, var, low, up = model.predict(Xtest_full) var = var[:, :1]