We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Is it possible to get same k-means clusters for every execution of Ai4r::Clusterers::KMeans.build(set, number_clusters) for a particular data set?
Ai4r::Clusterers::KMeans.build(set, number_clusters)
If you are familiar with R, this can be achieved by using set.seed(val). More info here.
set.seed(val)
Thanks!
The text was updated successfully, but these errors were encountered:
I managed to do it with calling srand(val) before Ai4r::Clusterers::KMeans.build(data_set, num_clusters)
srand(val)
Ai4r::Clusterers::KMeans.build(data_set, num_clusters)
Sorry, something went wrong.
No branches or pull requests
Hello,
Is it possible to get same k-means clusters for every execution of
Ai4r::Clusterers::KMeans.build(set, number_clusters)
for a particular data set?
If you are familiar with R, this can be achieved by using
set.seed(val)
. More info here.Thanks!
The text was updated successfully, but these errors were encountered: