-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I am still trying to understand the code, so maybe I am wrong, but I think there is something wrong in the interpretation of the members of U_ and the elements in variables uand p in classifiers.py.
In lines 124 and 125:
sklearn_cotraining/sklearn_cotraining/classifiers.py
Lines 124 to 125 in 29a29a2
| y[[U_[x] for x in p]] = 1 | |
| y[[U_[x] for x in n]] = 0 |
the elements of n and p are used as indices to access specific elements of U_, but in line 130:
| U_ = [elem for elem in U_ if not (elem in p or elem in n)] |
the elements of n and p are used as if they were to appear as members of U_. I think there is an error there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels