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

Nondetermanistic methods should take a n_init parameter, for how many times to run #64

Open
oxinabox opened this issue Jun 8, 2016 · 1 comment · May be fixed by #78
Open

Nondetermanistic methods should take a n_init parameter, for how many times to run #64

oxinabox opened this issue Jun 8, 2016 · 1 comment · May be fixed by #78

Comments

@oxinabox
Copy link
Contributor

oxinabox commented Jun 8, 2016

Hiya,
In python's sklearn methods like K-Means and K-Mediods take an n_init parameter:
To use their description:

n_init : int, default: 10
Number of time the k-means algorithm will be run with different centroid seeds. The final results will be the best output of n_init consecutive runs ...

I think it would be good to have that here,
particularly since a single run of k-means is fairly poor as a method for clustering data.
Running it several times and taking the best is common practice.

@ararslan
Copy link
Member

Sounds like a good idea to me. Would you be interested in submitting a PR for that?

lbollar added a commit to lbollar/Clustering.jl that referenced this issue Sep 30, 2016
@alyst alyst linked a pull request Dec 6, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants