基于C++的快速动态时间规整与聚类
Fast dynamic time warping and clustering in C++
AI总结:
本研究提出一种基于C++的高效时间序列DTW与聚类方法,通过动态规划求解DTW、MIP或k-medoids聚类结合任务级并行化提升效率,在UCR数据集上相比次快方案平均提速33%,大数据集提速64%。
摘要:
我们提出了一种计算高效的时间序列数据动态时间规整(DTW)与聚类方法。该方法将时间序列数据集的动态规整建模为一个通过动态规划求解的优化问题,随后通过混合整数规划(MIP)求解第二个优化问题,实现时间序列数据的聚类。当不需要全局最优性证明时,还可选择使用k-medoids聚类以提升速度。我们方法的效率提升源于聚类与DTW的任务级并行化。我们使用UCR Time Series Archive(UCR时间序列档案库)对该方法进行了测试,结果表明,在使用相同聚类方法的情况下,该方法的平均速度比次快方案快33%;若仅考虑更大规模的数据集(包含超过1000条时间序列),速度提升可达64%。MIP聚类在少量较长时间序列的场景下效果最佳,因为其DTW计算速度快于其他方法,但随着待聚类时间序列数量的增加,聚类问题的计算成本会变得越来越高。
英文摘要:
We present an approach for computationally efficient dynamic time warping (DTW) and clustering of time-series data. The method frames the dynamic warping of time series datasets as an optimisation problem solved using dynamic programming, and then clusters time series data by solving a second optimisation problem using mixed-integer programming (MIP). There is also an option to use k-medoids clustering for increased speed, when a certificate for global optimality is not essential. The improved efficiency of our approach is due to task-level parallelisation of the clustering alongside DTW. Our approach was tested using the UCR Time Series Archive, and was found to be, on average, 33% faster than the next fastest option when using the same clustering method. This increases to 64% faster when considering only larger datasets (with more than 1000 time series). The MIP clustering is most effective on small numbers of longer time series, because the DTW computation is faster than other approaches, but the clustering problem becomes increasingly computationally expensive as the number of time series to be clustered increases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。