7.00.02 - Output - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
DTW Example Output Table
timeseriesID templateID warpDistance
1 1 25163.9
1 2 7547.69
1 3 19577.6
2 1 132.669
2 2 1904.08
2 3 71.7805
3 1 351.676
3 2 3614.2
3 3 75.7767
4 1 4927.61
4 2 914.257s
4 3 16641.6

The following figure shows a plot of the results.

DTW Example Results Plot

The warping distance is an unnormalized measure of how dissimilar two time series are. The warpDistance column in the output table contains the warping distance for all pairs in the mapping table; that is, for every timeseriesID and templateID number.

As the preceding figure shows, input 2 is more similar to templates 1 and 3 than to template 2. The warp distances also show this: for templates 1 and 3, they are 131.588 and 106.131; for template 2, the warping distance is about 540.

Because the dissimilarity of two time series is not based on whether they are temporarily close (the time is stretched and the two time series that are offset by a constant time interval are effectively the same), input 3 is not very dissimilar to templates 1 and 3. However, input 4 has the largest warping distance measure from templates 1 and 3, as the curvature of the latter 2 is far from input 4. Time stretching brings input 4 closer to templates 1 and 3, but with a larger warping path (not output above) and therefore, a larger warping distance.