-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
BUG (maybe) wrong node bound spread in KernelDensity #27186
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
Comments
@jakevdp Do you think that you could have a quick look at those lines? |
In reponse to #27971 (comment) @glemaitre I'm providing some more intuition here: scikit-learn/sklearn/neighbors/_binary_tree.pxi.tp Lines 2111 to 2116 in a5620f4
In the above snippet scikit-learn/sklearn/neighbors/_binary_tree.pxi.tp Lines 2251 to 2257 in a5620f4
The above is one of the other places where node boundaries are updated for your reference. |
Describe the bug
scikit-learn/sklearn/neighbors/_binary_tree.pxi.tp
Lines 2114 to 2116 in a5620f4
scikit-learn/sklearn/neighbors/_binary_tree.pxi.tp
Lines 2121 to 2123 in a5620f4
These lines do not seem to be correct. The right-hand side seems to be node log max bound but not node log bound spread. Should they instead be
I don't really find an unexpected result or something, just got confused when reading the code.
The text was updated successfully, but these errors were encountered: