Skip to content

Commit dc4331c

Browse files
authored
Fix docstring in LabelModel (#1424)
1 parent d68bf18 commit dc4331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snorkel/labeling/model/label_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def predict(
394394
"""Return predicted labels, with ties broken according to policy.
395395
396396
Policies to break ties include:
397-
"abstain": return an abstain vote (0)
397+
"abstain": return an abstain vote (-1)
398398
"true-random": randomly choose among the tied options
399399
"random": randomly choose among tied option using deterministic hash
400400

0 commit comments

Comments
 (0)