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

Function _mean

python/openquant/feature_diagnostics.py:234–235  ·  view source on GitHub ↗
(values: Sequence[float])

Source from the content-addressed store, hash-verified

232
233
234def _mean(values: Sequence[float]) -> float:
235 return sum(values) / len(values) if values else 0.0
236
237
238def _std(values: Sequence[float]) -> float:

Callers 5

_stdFunction · 0.85
_importance_tableFunction · 0.85
mda_importanceFunction · 0.85
feature_screen_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected