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

a little error happened on densitypeak.py #8

Closed
SagacitySucura opened this issue Apr 29, 2019 · 3 comments
Closed

a little error happened on densitypeak.py #8

SagacitySucura opened this issue Apr 29, 2019 · 3 comments
Assignees
Labels

Comments

@SagacitySucura
Copy link

Near 284 line,p.dists.iteritems should change to p.dists.item. Thank you very mach for your code to help me a lot.

@fangxu622
Copy link

hi~~for why ?Now i'm want use som for cluster~Is this a bug?

@SagacitySucura
Copy link
Author

may be this problem. You can have a try

@fcomitani fcomitani self-assigned this May 8, 2019
@fcomitani fcomitani added the bug label May 8, 2019
@fcomitani
Copy link
Owner

Hi @SagacitySucura, thanks for spotting that. Indeed iteritems is not available in Pyhon 3.x. I am changing it to items.

Hi @fangxu622, I'm going to fix this, but in the meantime you can still use the alternative clustering methods included in the package, or, if you really need density peak, you could just run it with Python 2.x, which is not affected by this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants