Skip to content

Commit c663e88

Browse files
committed
Record mean abs error as well as max
1 parent 6443203 commit c663e88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmarks/benchmarking.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ def run_benchmarks(
451451
results_entry["max_abs_error"] = abs(
452452
reference_output - output
453453
).max()
454+
results_entry["mean_abs_error"] = abs(
455+
reference_output - output
456+
).mean()
454457
run_times = [
455458
time / number_runs
456459
for time in timeit.repeat(

0 commit comments

Comments
 (0)