MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / get_metric_statistics

Function get_metric_statistics

mogen/core/evaluation/utils.py:5–9  ·  view source on GitHub ↗
(values, replication_times)

Source from the content-addressed store, hash-verified

3
4
5def get_metric_statistics(values, replication_times):
6 mean = np.mean(values, axis=0)
7 std = np.std(values, axis=0)
8 conf_interval = 1.96 * std / np.sqrt(replication_times)
9 return mean, conf_interval
10
11
12def euclidean_distance_matrix(matrix1, matrix2):

Callers 1

evaluateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected