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

Function _predict_proba

python/openquant/feature_diagnostics.py:195–196  ·  view source on GitHub ↗
(model: _LinearModel, x: Sequence[Sequence[float]])

Source from the content-addressed store, hash-verified

193 # Keep the legacy pre-fold embargo, but count the post-fold embargo
194 # from the first row after all test labels resolve, not inside the purge.
195 before = max(0, start - embargo_n)
196 resume = stop
197 while resume < n and intervals[resume][0] <= test_end:
198 resume += 1
199 after = min(n, resume + embargo_n)

Callers 2

_score_with_perm_groupsFunction · 0.85
sfi_importanceFunction · 0.85

Calls 2

_sigmoidFunction · 0.85
_dotFunction · 0.85

Tested by

no test coverage detected