mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-29 15:59:41 +02:00
[subbarray] logging
This commit is contained in:
parent
83e2df838d
commit
06ee090a50
2 changed files with 10 additions and 6 deletions
|
|
@ -221,9 +221,11 @@ class VarDTCMissingData(LatentFunctionInference):
|
|||
inan = self._inan
|
||||
has_none = True
|
||||
if has_none:
|
||||
print "caching missing data slices, this can take several minutes..."
|
||||
from ...util.subarray_and_sorting import common_subarrays
|
||||
self._subarray_indices = []
|
||||
for v,ind in common_subarrays(inan, 1).iteritems():
|
||||
csa = common_subarrays(inan, 1)
|
||||
for v,ind in csa.iteritems():
|
||||
if not np.all(v):
|
||||
v = ~np.array(v, dtype=bool)
|
||||
ind = np.array(ind, dtype=int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue