MCPcopy Create free account
hub / github.com/Open-Quant/openquant / _dot

Function _dot

python/openquant/feature_diagnostics.py:128–129  ·  view source on GitHub ↗
(a: Sequence[float], b: Sequence[float])

Source from the content-addressed store, hash-verified

126
127 before = max(0, start - embargo_n)
128 after = min(n, stop + embargo_n)
129 for i in range(before, after):
130 train_mask[i] = False
131
132 train_idx = [i for i, keep in enumerate(train_mask) if keep]

Callers 3

_predict_probaFunction · 0.85
_power_iterationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected