MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / std

Function std

tokasaurus/utils.py:123–125  ·  view source on GitHub ↗
(lst)

Source from the content-addressed store, hash-verified

121
122
123def std(lst):
124 mean = sum(lst) / len(lst)
125 return (sum((x - mean) ** 2 for x in lst) / len(lst)) ** 0.5
126
127
128def median(lst):

Callers 2

stdMethod · 0.85
cpu_stdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected