Skip to content

Incoherent interpretation of members of U_ #5

@cgosorio

Description

@cgosorio

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions