On 11/06/15 23:29, Jacob Vanderplas wrote: > It's not ideal, but I don't see any way around it short of creating > explicit flags for every metric. Any thoughts?
Computed goto? But you need to get the code into C or C++. I was thinking about adding that was of dispatching between distance metrics to cKDTree in SciPy. https://github.com/scipy/scipy/pull/4890 Sturla ------------------------------------------------------------------------------ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general