-
Notifications
You must be signed in to change notification settings - Fork 214
Add KMeans random_state to semantic deduplication configs
#575
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
Conversation
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
| embedding_column=semdedup_config.embedding_column, | ||
| random_state=semdedup_config.random_state, | ||
| sim_metric=semdedup_config.sim_metric, | ||
| which_to_keep=semdedup_config.which_to_keep, | ||
| sort_clusters=semdedup_config.sort_clusters, | ||
| kmeans_with_cos_dist=semdedup_config.kmeans_with_cos_dist, | ||
| clustering_input_partition_size=semdedup_config.clustering_input_partition_size, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding these 🙏
I was running the script recently and had to these too
| kmeans = KMeans( | ||
| n_clusters=self.n_clusters, | ||
| max_iter=self.max_iter, | ||
| random_state=self.random_state, | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm this is the main change right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, everything else is docstring updates or updates to make sure all parameters are being used in the scripts directory. Thanks!
…eMo#575) * Add KMeans random_state to semantic deduplication configs Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> * edit docstrings Signed-off-by: Sarah Yurick <sarahyurick@gmail.com> --------- Signed-off-by: Sarah Yurick <sarahyurick@gmail.com>
No description provided.