-
Notifications
You must be signed in to change notification settings - Fork 44
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
Splitted RadiusNearestNeighbors module into RNNClassifier and RNNRegressor #296
Splitted RadiusNearestNeighbors module into RNNClassifier and RNNRegressor #296
Conversation
Thank you, it looks good to me as a first step! Next we need to look at the failures and tests. :) |
Hi @norm4nn and sorry for the rather delayed review! This looks OK so far, though I am not sure about the approach. More precisely, I am not sure if we should be having separate modules for Radius Nearest Neighbor Classifier and Regressor or if we should just add the radius parameter to k-NN Classifier and Regressor. I know the issue says to split the existing module into two, but now I am hesitant about that. @josevalim any thoughts on this? |
How many of the existing options in knn classifier play well with the radius one? My understanding is that it is only a subset of them and that the algorithms are different? |
Indeed, the algorithms are different:
The only way to implement the latter using I guess having separate modules is fine, but they should not have the |
@norm4nn we can go ahead, but I think we need to fix DBSCAN suite, it may rely on the previous models. Can you please take a look? |
Wrong PR? |
I believe it is the right PR. CI is failing because tests (DBSCAN?) cannot find Scholar.Neighbors.RadiusNearestNeighbors. :) |
Oh, sorry! The reason I asked is because DBSCAN is mentioned in the other PR. |
Sure, I will look on this |
…m4nn/scholar into rnn_classifier_and_regressor
There are tiny syntax errors on the doctests and we should be good to go! |
💚 💙 💜 💛 ❤️ |
I would suggest changing the module names (and maybe file names as well) to |
Good point, I went with RadiusNN for now :) |
Following up on #266 - splitted RadiusNearestNeighbors module intoto RNNClassifier and RNNRegressor modules