Calculate confidence interval for benchmark measurements
This commit is contained in:
parent
2eb620bb33
commit
944a3e44f5
@ -79,7 +79,6 @@ class BenchmarkRunner:
|
||||
raise Exception(f"Unknown benchmark: {benchmark_name}")
|
||||
|
||||
def calculate_confidence_interval(data):
|
||||
print('Data: ', data.shape)
|
||||
assert len(data) == 5, f"Shape: {data.shape}"
|
||||
mean = np.mean(data)
|
||||
std_err = np.std(data, ddof=1) / np.sqrt(len(data))
|
||||
|
Loading…
Reference in New Issue
Block a user