Take for example, Fig. 1, a traditional data mining
similarity measure such as Euclidean distance is used to
compare the similarity between two time series Q and C, and a
relationship is not discern because it is the two time-series are
out of phase. In Fig. 2, DTW algorithm is used to overcome
this problem by accounting for the time factor when
comparing the two time-series.