Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ideal_labeler: label() should return the label instead of list #32

Closed
lsc36 opened this issue Dec 31, 2015 · 1 comment
Closed

ideal_labeler: label() should return the label instead of list #32

lsc36 opened this issue Dec 31, 2015 · 1 comment
Labels

Comments

@lsc36
Copy link
Collaborator

lsc36 commented Dec 31, 2015

Current IdealLabeler seems to return a list of labels instead of the label.

self.y[np.where([...])[0]]

should be

self.y[np.where([...])[0]][0]

or

self.y[np.where([...])[0][0]]
@lsc36
Copy link
Collaborator Author

lsc36 commented Dec 31, 2015

Clarified: label() accepts multiple features and should return a list.

@lsc36 lsc36 closed this as completed Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant