mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-06 10:32:39 +02:00
[var dtc missing] yak shaving
This commit is contained in:
parent
35b778b45f
commit
3ac8f477fa
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class VarDTCMissingData(LatentFunctionInference):
|
|||
logger.info('preparing subarrays Y')
|
||||
Ys = [Y[v, :][:, ind] for v, ind in self._subarray_indices]
|
||||
logger.info('preparing traces Y')
|
||||
traces = [(y**2).sum() for y in Ys]
|
||||
traces = [np.einsum('ij,ij->', y,y) for y in Ys]
|
||||
return Ys, traces
|
||||
else:
|
||||
self._subarray_indices = [[slice(None),slice(None)]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue