Remove print statement in CutoffEstimator

This commit is contained in:
Daniel Povey 2022-12-17 16:28:45 +08:00
parent 29df07ba2c
commit dfeafd6aa8

View File

@ -257,7 +257,6 @@ class CutoffEstimator:
if ans: if ans:
self.count_above += 1 self.count_above += 1
cur_p = self.count_above / self.count cur_p = self.count_above / self.count
print(f"cur_p = {cur_p}, cutoff = {self.cutoff}")
delta_p = cur_p - self.p delta_p = cur_p - self.p
if (delta_p > 0) == ans: if (delta_p > 0) == ans:
q = abs(delta_p) q = abs(delta_p)