From dcd732318250139dac75c72d61cd7f88e903ea04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haojie=20Jia=28Allons=CE=B3=29?= <32014575+yinxiangshi@users.noreply.github.com> Date: Fri, 22 Apr 2022 17:48:56 -0500 Subject: [PATCH] Update dataset_generator.py --- wrench/synthetic/dataset_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrench/synthetic/dataset_generator.py b/wrench/synthetic/dataset_generator.py index dc86f5e..e028190 100755 --- a/wrench/synthetic/dataset_generator.py +++ b/wrench/synthetic/dataset_generator.py @@ -132,7 +132,7 @@ def __init__(self, self.lf_targets[overlap_lf] = self.lf_targets[target] self.dep_graph.append((overlap_lf, target)) for conflict_lf, target in zip(self.conflict_lfs, self.conflict_target_lf): - self.lf_targets[conflict_lf] = self.sampel_other_label(self.lf_targets[target]) + self.lf_targets[conflict_lf] = self.sample_other_label(self.lf_targets[target]) self.dep_graph.append((conflict_lf, target)) for duplicate_lf, target in zip(self.duplicate_lfs, self.duplicate_target_lf): self.lf_targets[duplicate_lf] = self.lf_targets[target]