mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
merged static
This commit is contained in:
commit
22403a266f
15 changed files with 623 additions and 1138 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue