I am looking for the fastest implementation of pairwise distance between two sets of vectors (two 2D arrays) in c++/python.
What have I done? I ran the code from here on my server. In python, I found that the pairwise distance function from scikit learn and cdist from scipy.special.distance have fastest pairwise distance implementation.
Question: Can one compute pairwise distance 2x or more faster if coded purely in C++ (given that a most of the underlying code in scikit-learn, scipy is in C++ )?
Aucun commentaire:
Enregistrer un commentaire