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

Function _norm

python/openquant/feature_diagnostics.py:474–475  ·  view source on GitHub ↗
(v: Sequence[float])

Source from the content-addressed store, hash-verified

472 Recovery retains the iteration cap and requires small coefficient and logit
473 changes; its exponential/logarithmic evaluations still use binary64.
474 """
475 n = len(x)
476 p = len(x[0])
477 sw = [1.0] * n if sample_weight is None else [float(v) for v in sample_weight]
478

Callers 1

_power_iterationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected