mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
beginning of work to make sparse GP ork with RA's EP methods
This commit is contained in:
parent
346f9dd8bd
commit
c025e8b68b
2 changed files with 12 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ class EP(likelihood):
|
|||
self.Z = np.sum(np.log(self.Z_hat)) + 0.5*np.sum(np.log(sigma_sum)) + 0.5*np.sum(mu_diff_2/sigma_sum) #Normalization constant, aka Z_ep
|
||||
|
||||
self.Y = mu_tilde[:,None]
|
||||
self.precsion = self.tau_tilde
|
||||
self.precision = self.tau_tilde[:,None]
|
||||
self.covariance_matrix = np.diag(1./self.precision)
|
||||
|
||||
def fit_full(self,K):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue