-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
FIX KNeighbor classes correctly set positive_only tag #30372
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
Conversation
Although it begs the question, do we always want to set |
I'd be in favour of the proposed change as it is less overhead for users and it an explicit setting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Do we need to document this fix in the changelog, no? Tags were not officially public before, but still, they are regularly used by 3rd party code as skops demonstrates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes sense to me to make the behavior consistent with the pairwise tag, i.e. defining it right away. LGTM
Ok, then let me add docs and tests and fix the other instances in the same PR |
Ready for merge I think. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a question before we merge
Co-authored-by: Jérémie du Boisberranger <[email protected]>
…0372) Co-authored-by: Jérémie du Boisberranger <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
…0372) Co-authored-by: Jérémie du Boisberranger <[email protected]>
Detected in skops tests, since we were not properly generating input data.
cc @TamaraAtanasoska @jeremiedbb @glemaitre