merged static

This commit is contained in:
Max Zwiessele 2014-02-24 14:50:23 +00:00
commit 22403a266f
15 changed files with 623 additions and 1138 deletions

View file

@ -128,7 +128,7 @@ class RBF(Kern):
def update_gradients_variational(self, dL_dKmm, dL_dpsi0, dL_dpsi1, dL_dpsi2, Z, posterior_variational):
mu = posterior_variational.mean
S = posterior_variational.variance
S = posterior_variational.variance
self._psi_computations(Z, mu, S)
#contributions from psi0:
@ -385,4 +385,4 @@ class RBF(Kern):
def input_sensitivity(self):
if self.ARD: return 1./self.lengthscale
else: return (1./self.lengthscale).repeat(self.input_dim)
else: return (1./self.lengthscale).repeat(self.input_dim)