We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/ntucllab/libact/blob/interface-documentation/libact/labelers/ideal_labeler.py#L30
The text was updated successfully, but these errors were encountered:
Referring to master: https://github.com/ntucllab/libact/blob/master/libact/labelers/ideal_labeler.py#L30
Sorry, something went wrong.
Current IdealLabeler seems to return a list of labels instead of the label. This should also be fixed.
self.y[np.where([...])[0]]
should be
self.y[np.where([...])[0]][0]
or
self.y[np.where([...])[0][0]]
then catch IndexError and reraise ValueError to indicate feature not found.
Opened issue #32. Please solve it first.
#32 closed. Let's move discussion under #33.
No branches or pull requests
https://github.com/ntucllab/libact/blob/interface-documentation/libact/labelers/ideal_labeler.py#L30
The text was updated successfully, but these errors were encountered: