Skip to content

Commit

Permalink
Add clarifying docstring to implements_l2 in LabelModel
Browse files Browse the repository at this point in the history
  • Loading branch information
bhancock8 committed Sep 7, 2018
1 parent c215a87 commit efa4c38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metal/label_model/label_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class LabelModel(Classifier):
k: (int) the cardinality of the classifier
"""

# This class variable is explained in the Classifier class
implements_l2 = True

def __init__(self, k=2, **kwargs):
Expand Down

0 comments on commit efa4c38

Please sign in to comment.