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

switch between sdvec and dense vec #203

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

yaushian
Copy link
Contributor

Issue #, if available:

Description of changes:
Design a strategy to automatically switch between dense vectors and sdvecs that store cluster centers. If the center worst max density is above the threshold, use dense vec, otherwise use sdvec. It brings a 1.5-2x speedup on clustering.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pecos/core/utils/matrix.hpp Fixed Show fixed Hide fixed
pecos/core/utils/matrix.hpp Fixed Show fixed Hide fixed
@yaushian yaushian merged commit 742e097 into amzn:mainline Jan 25, 2023
@yaushian yaushian deleted the sdvec_dvec_switch branch January 25, 2023 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants