MCPcopy Create free account
hub / github.com/NetManAIOps/donut / get_iterator

Method get_iterator

donut/utils.py:96–130  ·  view source on GitHub ↗

Iterate through the sliding windows of each array in `arrays`. This method is not re-entrant, i.e., calling :meth:`get_iterator` would invalidate any previous obtained iterator. Args: arrays (Iterable[np.ndarray]): 1-D arrays to be iterated. Yi

(self, arrays)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

get_scoreMethod · 0.95
fitMethod · 0.95
test_validate_arraysMethod · 0.80
test_basicMethod · 0.80
test_shuffleMethod · 0.80
test_excludesMethod · 0.80

Calls 1

Tested by 5

test_validate_arraysMethod · 0.64
test_basicMethod · 0.64
test_shuffleMethod · 0.64
test_excludesMethod · 0.64