Skip to content

dtwBacktracking

dtwBacktracking(steps, options?): number[][]

Defined in: packages/pleco-xa/src/sequence/dtw.js:382

Backtrack a warping path from a recorded step matrix.

number[][] | Int32Array<ArrayBufferLike>[]

step matrix from dtw (returnSteps: true).

number

start column (subseq only).

number[][]

the SAME custom steps passed to dtw (they are appended to the defaults here too, so index bookkeeping matches the forward pass).

boolean

number[][]

warping path, end-to-start.