Project Information
Featured

FastDTW is an approximate Dynamic Time Warping (DTW) algorithm that provides optimal or nearoptimal alignments with an O(N) time and memory complexity, in contrast to the O(N^2) requirement for the standard DTW algorithm. FastDTW uses a multilevel approach that recursively projects a solution from a coarser resolution and refines the projected solution. Implementation: FastDTW is implemented in Java. If the JVM heap size is not large enough for the cost matrix to fit into memory, the implementation will automatically switch to an ondisk cost matrix. Alternate approaches evaluated in the papers listed below are also implemented: SakoeChiba Band, Abstraction, Piecewise Dynamic Time Warping (PDTW). This is the original/official implementation used in the experiments described in the papers below. Reference: FastDTW: Toward Accurate Dynamic Time Warping in Linear Time and Space. Stan Salvador & Philip Chan. KDD Workshop on Mining Temporal and Sequential Data, pp. 7080, 2004. (http://cs.fit.edu/~pkc/papers/tdm04.pdf) Toward accurate dynamic time wrapping in linear time and space. Stan Salvador and Philip Chan. Intelligent Data Analysis, 11(5):561580, 2007. (http://iospress.metapress.com/content/h74w3l3156332247) 