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

end_level has huge number #64

Open
deter3 opened this issue Aug 28, 2016 · 1 comment
Open

end_level has huge number #64

deter3 opened this issue Aug 28, 2016 · 1 comment
Assignees

Comments

@deter3
Copy link

deter3 commented Aug 28, 2016

I am using Debacl for images features clustering , and the tree results has huge end-level , is there something wrong with my implementation ?

tree = dcl.construct_tree(featlist, k=2,verbose=True)

b003ef06-5eb8-4f46-867c-3d3706601819

@bpkent
Copy link
Collaborator

bpkent commented Sep 4, 2016

Can you post a little more of the code that led to this state? Two things come to mind that could cause this kind of numerical instability: co-located points, where the k-neighbor radius might be 0, and using a high dimension to try to compute an exact density estimate. If it's the former case, you could try adding a very small amount of jitter to the points. If it's the latter, try using a dimension of 1 to get the density estimate order rather than precise estimates - it's all that DeBaCl really needs to compute the tree structure.

If you can post more code, that would be great - without it, it's really hard to know what's going on.

Thanks!
Brian

@bpkent bpkent self-assigned this Sep 4, 2016
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