Revision 775e07e17547df2804fd9eead3f1b128d303b577 authored by IlyaKot on 14 July 2021, 09:52:55 UTC, committed by GitHub on 14 July 2021, 09:52:55 UTC
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.
1 parent 6e9c5e8
History
File Mode Size
data
pytorch
.gitattributes -rw-r--r-- 88 bytes
.gitignore -rw-r--r-- 42 bytes
LICENSE -rw-r--r-- 1.0 KB
README.md -rw-r--r-- 7.2 KB

README.md

back to top