mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 02:24:17 +02:00
[more coverage] and predictive var fixes
This commit is contained in:
parent
ec7334846c
commit
929cf0a489
4 changed files with 32 additions and 14 deletions
|
|
@ -119,7 +119,7 @@ def plot_latent(model, labels=None, which_indices=None,
|
|||
Xtest_full[:, [input_1, input_2]] = x
|
||||
_, var = model.predict(Xtest_full, **predict_kwargs)
|
||||
var = var[:, :1]
|
||||
return np.log(var)
|
||||
return 2*np.sqrt(var)
|
||||
|
||||
#Create an IMshow controller that can re-plot the latent space shading at a good resolution
|
||||
if plot_limits is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue