Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ pop_stddev
Function
pop_stddev
lm-eval-harness/lm_eval/api/metrics.py:202–204 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
200
201
202
def
pop_stddev(arr):
203
mu = mean(arr)
204
return
math.sqrt(sum([(x - mu) ** 2
for
x in arr]) / len(arr))
205
206
207
def
sample_stddev(arr):
Callers
nothing calls this directly
Calls
1
mean
Function · 0.85
Tested by
no test coverage detected