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

bucket kd-trees #41

Open
Maryom opened this issue Oct 28, 2017 · 4 comments
Open

bucket kd-trees #41

Maryom opened this issue Oct 28, 2017 · 4 comments

Comments

@Maryom
Copy link

Maryom commented Oct 28, 2017

Hi,

Thanks for your repo.

I'm wondering it is possible to add bucket kd-trees ? I found Matlab code of it. However, I need it in python.

Thanks.

@stefankoegl
Copy link
Owner

Hi,

Could you please describe how a bucket kd-tree is supposed to work?

Thanks!

@Maryom
Copy link
Author

Maryom commented Oct 28, 2017

Thanks for your fast reply.

Kindly, check this document:

Bucket means points are collected in leaves until they overflow. Only then are they split. This makes the tree more likely to be balanced since we can choose a smarter splitting point than whatever we receive first.

Do you think it will be easy to add bucket to this repo. ?

Thanks.

@stefankoegl
Copy link
Owner

The fact that each node corresponds to one point (and has up to two sub nodes) is a basic assumption of the kdtree module. Such a change would probably affect many parts of the whole data structure.

As I do not have sufficient time at the moment, I will not be able to implement this in the foreseeable future, I would however be available for reviewing any pull requests.

@Maryom
Copy link
Author

Maryom commented Oct 28, 2017

Ok thanks. Maybe I will pull a request to do it. I'm thinking and I'm searching.

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

No branches or pull requests

2 participants