mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 21:42:39 +02:00
minor changes for het. noise and uncertin inuputs
This commit is contained in:
parent
053e6519c8
commit
77a89794d7
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class sparse_GP(GP):
|
||||||
if self.has_uncertain_inputs:
|
if self.has_uncertain_inputs:
|
||||||
self.psi2_beta_scaled = (self.psi2*(self.likelihood.precision.reshape(self.N,1,1)/sf2)).sum(0)
|
self.psi2_beta_scaled = (self.psi2*(self.likelihood.precision.reshape(self.N,1,1)/sf2)).sum(0)
|
||||||
else:
|
else:
|
||||||
tmp = self.psi1*(np.sqrt(self.likelihood.precision.reshape(1,self.N))/sf)
|
tmp = self.psi1.T*(np.sqrt(self.likelihood.precision.reshape(1,self.N))/sf)
|
||||||
self.psi2_beta_scaled = np.dot(tmp,tmp.T)
|
self.psi2_beta_scaled = np.dot(tmp,tmp.T)
|
||||||
else:
|
else:
|
||||||
if self.has_uncertain_inputs:
|
if self.has_uncertain_inputs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue