Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Feb 6, 2022
1 parent a3aea02 commit 2ca5919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dedupe/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def random_forest_candidates(self,
pred_sample_size = max(int(math.sqrt(len(predicates))), 5)
candidates = {}
if K is None:
K = max(math.floor(math.log10(len(match_cover))), 1)
K = max(math.floor(math.log10(len(matches))), 1)

n_samples = 5000
for _ in range(n_samples):
Expand Down

0 comments on commit 2ca5919

Please sign in to comment.