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

parallelized computation of distances #28

Merged
merged 1 commit into from Jul 14, 2021
Merged

Conversation

ilyak93
Copy link
Contributor

@ilyak93 ilyak93 commented Oct 12, 2020

parallelized computation of distances for some of the metrics exist for cdist. Cover the existing euclidean an cosine for knn and mknn.
Significantly accelerates the computation.
if some other metrics will desired to be used by users (instead the euclidean and cosine for knn and mknn respectively),
then If the user have enough memory and the metric is in distance_metrics, then users can replace the whole loop, that remained for their decision.

parallelized computation of distances for some of the metrics exist for cdist. Cover the existing euclidean an cosine for knn and mknn.
Significantly accelerates the computation. 
if some other metrics will desired to be used by users (instead the euclidean and cosine for knn and mknn respectively),
then If the user have enough memory and the metric is in distance_metrics, then users can replace the whole loop, that remained for their decision.
Copy link
Owner

@shahsohil shahsohil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@shahsohil shahsohil merged commit 775e07e into shahsohil:master Jul 14, 2021
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.

None yet

2 participants