Skip to content
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

fast_knn pass allowed parameters through to kdtree.query and KDTree` #37

Closed
eltonlaw opened this issue Oct 21, 2018 · 0 comments · Fixed by #38
Closed

fast_knn pass allowed parameters through to kdtree.query and KDTree` #37

eltonlaw opened this issue Oct 21, 2018 · 0 comments · Fixed by #38

Comments

@eltonlaw
Copy link
Owner

For KDTree currently using the default leafsize and for kdtree.query, the default eps, p and distance_upper_bound. Allow this to be modified.

fast_knn(data, k=3, eps=0, p=2, distance_upper_bound=np.inf, leafsize=10)

eltonlaw added a commit that referenced this issue Oct 21, 2018
#37 - `fast_knn` pass allowed parameters through to `kdtree.query and…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant