Created
April 5, 2020 14:32
-
-
Save vikeshsingh37/ed4cc976d5c3401279567a2ea76ba115 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label_model = LabelModel(cardinality=2, verbose=True) | |
label_model.fit(L_train, n_epochs=500, log_freq=50, seed=123) | |
df_train["label"] = label_model.predict(L=L_train, tie_break_policy="abstain") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment