shahsohil / DCC

This repository contains the source code and data for reproducing results of Deep Continuous Clustering paper
MIT License
208 stars 53 forks source link

parallelized computation of distances #28

Closed ilyak93 closed 3 years ago

ilyak93 commented 3 years ago

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.