-
-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Mismatching dimensions in extmath.weighted_mode #4454
Comments
Thanks for the report. |
Also, which version of scikit-learn are you using? (and sorry for the slow reply, I was sick) |
If
|
The code looks like it tries to handle different ndims, not different shapes. Also, I'm not sure what is happening in Could you try upgrading scikit-learn to 0.16? You use an old development version. |
closing as no reply |
Apparently, this check here isn't enough.
When using neighbors.RadiousNeighborsClassifer.predict, I keep getting errors due to the mismatching dimensions in the next line :
ValueError: operands could not be broadcast together with shapes (8792) (8807)
ValueError: operands could not be broadcast together with shapes (3) (2)
...
The text was updated successfully, but these errors were encountered: