Skip to content

Commit

Permalink
Importing scipy.stats in plotting script
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant <[email protected]>
  • Loading branch information
vrnimje committed Jul 15, 2024
1 parent db6137e commit b935650
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/perftests_plot.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import sys
import json
import matplotlib.pyplot as plt
from scipy import stats
import scipy
import scipy.stats
import numpy as np
import os

Expand Down Expand Up @@ -30,7 +31,7 @@
samples.append(test2["series"])
test_names.append(test1["name"] + ",\n" + test1["executor"])
samples.append(test1["series"])
ks_stat, pvalue = stats.ks_2samp(test1["series"], test2["series"])
ks_stat, pvalue = scipy.stats.ks_2samp(test1["series"], test2["series"])

mean2 = np.mean(test2["series"])
mean1 = np.mean(test1["series"])
Expand Down

0 comments on commit b935650

Please sign in to comment.