-
Notifications
You must be signed in to change notification settings - Fork 11
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
KNN unexpected behaviour #141
Comments
Yeah, you're hitting the somewhat unintuitive part where we need to initialize the https://github.com/invenia/Impute.jl/blob/master/src/imputors/knn.jl#L40 In this particular case, that means rows 3 and 4 are neighbours of each other.
We could use
The drawback with this approach is that:
I suppose the least opinionated option might be to allow folks to specify the initialization and aggregation options? That's what I did for the SVD implementation. https://github.com/invenia/Impute.jl/blob/master/src/imputors/svd.jl#L19 |
In retrospect, the better way to do this is to support |
Hi !
Given a matrix M as follows
I would expect to get:
However, I get:
Am I missing something?
The text was updated successfully, but these errors were encountered: