Skip to content

Commit

Permalink
Update dataset_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yinxiangshi authored Apr 22, 2022
1 parent 26d45f8 commit dcd7323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrench/synthetic/dataset_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit dcd7323

Please sign in to comment.