Time series distance metric

后端 未结 4 1381
鱼传尺愫
鱼传尺愫 2021-02-14 18:50

In order to clusterize a set of time series I\'m looking for a smart distance metric. I\'ve tried some well known metric but no one fits to my case.

ex: Let\'s assume t

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-14 19:30

    Another approach would be by utilizing DTW which is an algorithm to compute the similarity between two temporal sequences. Full disclosure; I coded a Python package for this purpose called trendypy, you can download via pip (pip install trendypy). Here is a demo on how to utilize the package. You're just just basically computing the total min distance for different combinations to set the cluster centers.

提交回复
热议问题