distance matrix of curves in python

前端 未结 3 1789
孤街浪徒
孤街浪徒 2020-12-15 00:33

I have a set of curves defined as 2D arrays (number of points, number of coordinates). I am calculating a distance matrix for them using Hausdorff distance. My current code

3条回答
  •  半阙折子戏
    2020-12-15 01:01

    There are several methods you can try:

    1. Using numpy-MKL which makes use of Intel's high performance Math Kernel Library instead of numpy;
    2. Using Bootleneck for array functions;
    3. Using Cpython for computation.

提交回复
热议问题