mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
[mixed_noise] variance shape
This commit is contained in:
parent
27b51e1e30
commit
9a074b0b0f
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class MixedNoise(Likelihood):
|
||||||
variance = np.zeros(ind.size)
|
variance = np.zeros(ind.size)
|
||||||
for lik, j in zip(self.likelihoods_list, range(len(self.likelihoods_list))):
|
for lik, j in zip(self.likelihoods_list, range(len(self.likelihoods_list))):
|
||||||
variance[ind==j] = lik.variance
|
variance[ind==j] = lik.variance
|
||||||
return variance[:,None]
|
return variance
|
||||||
|
|
||||||
def betaY(self,Y,Y_metadata):
|
def betaY(self,Y,Y_metadata):
|
||||||
#TODO not here.
|
#TODO not here.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue