sift:dynamic_time_warping:dynamic_time_warping
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sift:dynamic_time_warping:dynamic_time_warping [2024/06/19 12:46] – sgranger | sift:dynamic_time_warping:dynamic_time_warping [2024/11/15 20:13] (current) – [Dynamic Time Warping] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{{{dynamic time warping is a distance based algorithm that allows you to compare and measure similarity between two time based sequences, by minimizing the euclidean distance between points. essentially, | + | ====== Dynamic Time Warping ====== |
- | dtwalign.png | + | Dynamic Time warping is a distance based algorithm that allows you to compare and measure similarity between two time based sequences, by minimizing the Euclidean distance between points. Essentially, |
- | ===== contents ===== | + | {{: |
+ | ==== Mathematics of Dynamic Time Warping ==== | ||
+ | Say you had a trace x of size N, and a trace y of size M, this is how you would calculate the cost matrix: | ||
- | * [[# | + | {{:DTWeq.png}} |
- | * [[# | + | |
- | * [[# | + | |
- | * [[# | + | |
- | + | ||
- | + | ||
- | ===== mathematics of dynamic time warping ===== | + | |
- | + | ||
- | say you had a trace x of size n, and a trace y of size m, this is how you would calculate the cost matrix: | + | |
- | + | ||
- | dtweq.png | + | |
where d() is equal to the absolute distance. | where d() is equal to the absolute distance. | ||
- | to speed up the computational cost a lower bound keogh algorithm was implemented. | + | To speed up the computational cost a Lower Bound Keogh algorithm was implemented. |
- | ===== computing dynamic time warping | + | ==== Computing Dynamic Time Warping |
- | in sift you can use dynamic time warping | + | In Sift you can use Dynamic Time Warping |
- | the first way to use dynamic time warping is by finding anomalies within your dataset. | + | The first way to use Dynamic Time warping is by finding anomalies within your dataset. |
- | in this example we have used dynamic time warping | + | In this example we have used Dynamic Time Warping |
- | dtwanomalies.png | + | {{: |
\\ | \\ | ||
- | the second way to use dynamic time warping | + | The second way to use Dynamic Time Warping |
+ | |||
+ | In this example we found that the trace - AnkleAngleX/ | ||
- | in this example we found that the trace - ankleanglex/ | + | {{:DTWTrace.png}} |
- | dtwtrace.png | + | === Exporting Results === |
- | ==== exporting results ==== | + | Results for each dynamic time warping test can be exported in the {{: |
- | results for each dynamic time warping test can be exported in the sift_export_results.png [[sift: | + | ==== References ==== |
- | ===== references ===== | + | [1] F. Petitjean, G. Forestier, G. I. Webb, A. E. Nicholson, Y. Chen and E. Keogh, " |
- | [1] f. petitjean, g. forestier, g. i. webb, a. e. nicholson, y. chen and e. keogh, " | ||
- | }}}}}}}}}} |
sift/dynamic_time_warping/dynamic_time_warping.1718801192.txt.gz · Last modified: 2024/06/19 12:46 by sgranger