MCPcopy
hub / github.com/OpenMotionLab/MotionGPT / get_metric_statistics

Function get_metric_statistics

test.py:33–37  ·  view source on GitHub ↗
(values, replication_times)

Source from the content-addressed store, hash-verified

31
32
33def get_metric_statistics(values, replication_times):
34 mean = np.mean(values, axis=0)
35 std = np.std(values, axis=0)
36 conf_interval = 1.96 * std / np.sqrt(replication_times)
37 return mean, conf_interval
38
39
40def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected