计算机应用 ›› 2010, Vol. 30 ›› Issue (4): 1068-1071.

• 数据库与数据挖掘 • 上一篇    下一篇

基于提前终止的加速时间序列弯曲算法

陈胜利1,李俊奎2,刘小东2   

  1. 1. 西安财经学院信息学院
    2.
  • 收稿日期:2009-08-26 修回日期:2009-11-09 发布日期:2010-04-15 出版日期:2010-04-01
  • 通讯作者: 陈胜利
  • 基金资助:
    国家发展与改革委员会“安全智能数据整合平台开发及产业化”项目

Early abandon to accelerating exactly warping matching of time series

  • Received:2009-08-26 Revised:2009-11-09 Online:2010-04-15 Published:2010-04-01

摘要: 动态时间弯曲(DTW)距离是时间序列相似搜索的一种重要距离度量,但其精确计算是一个性能瓶颈。针对此问题,提出一种名为EA_DTW的方法用于加速DTW距离的精确计算,该方法在计算累积距离矩阵中每个方格的距离时都判断其是否超过阈值,一旦超过则提前终止其余相关方格的距离计算;并对EA_DTW的过程进行了理论分析。实验对比表明,EA_DTW能够提高DTW的计算效率,在阈值与DTW距离相比较小时更加明显。

关键词: 时间序列, 相似搜索, 动态弯曲距离, 提前终止

Abstract: Dynamic Time Warping (DTW) is one of the important distance measures in similarity searching of time series; however, the exact calculation has become a bottleneck. An approach named EA_DTW was proposed. The method checked if value of the cell in cumulative distance matrix exceeded the threshold and if so, it would terminate the calculation of other related cells. The theoretical analysis on the process of EA_DTW was made. The empirical experimental results show that EA_DTW outperforms the dynamic DTW calculation in terms of calculation time, and is much better when the threshold is below the real DTW distance.

Key words: time series, similarity search, Dynamic Time Warping (DTW), early abandon