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

Geocluster does not return same object for same initial parameters #4

Closed
ioana-m opened this Issue Sep 20, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@ioana-m

ioana-m commented Sep 20, 2017

Hello,

I was hoping to use this library in order to create the clusters that I wanted on my map. But the problem is that with the same elements and bias the geocluster does not return the same set of clusters, I ran it many times and each time there were some differences. Then I noticed the you are using Math.random() to initialize the initial cluster map. Maybe this is the problem? Is there any way to solve this and get the same exact results for the same initial parameters?

Thank you.

@yetzt

This comment has been minimized.

Show comment
Hide comment
@yetzt

yetzt Sep 27, 2017

Owner

this is by design ot the algorithm. if you want redproducible results, s-means is not the algorithm you want.

Owner

yetzt commented Sep 27, 2017

this is by design ot the algorithm. if you want redproducible results, s-means is not the algorithm you want.

@yetzt yetzt closed this Sep 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment