mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
[MRD] updates and nicer plotting
This commit is contained in:
parent
74b95d1b69
commit
3c642a5600
6 changed files with 26 additions and 8 deletions
|
|
@ -54,6 +54,8 @@ class BayesianGPLVMMiniBatch(SparseGPMiniBatch):
|
|||
self.variational_prior = NormalPrior()
|
||||
X = NormalPosterior(X, X_variance)
|
||||
|
||||
self.kl_factr = 1.
|
||||
|
||||
if inference_method is None:
|
||||
from ..inference.latent_function_inference.var_dtc import VarDTC
|
||||
self.logger.debug("creating inference_method var_dtc")
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class MRD(BayesianGPLVMMiniBatch):
|
|||
self.logger.info("building kernels")
|
||||
if kernel is None:
|
||||
from ..kern import RBF
|
||||
kernels = [RBF(input_dim, ARD=1, lengthscale=fracs[i]) for i in range(len(Ylist))]
|
||||
kernels = [RBF(input_dim, ARD=1, lengthscale=1./fracs[i]) for i in range(len(Ylist))]
|
||||
elif isinstance(kernel, Kern):
|
||||
kernels = []
|
||||
for i in range(len(Ylist)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue