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