https://github.com/cran/dtw
Raw File
Tip revision: fb9d711f03cd085124e022a5179b96dd48b48a1b authored by Toni Giorgino on 27 April 2013, 00:00:00 UTC
version 1.16
Tip revision: fb9d711
TODO

* R_inf for comparisons

* Remove C test

* Optimize memory use (e.g. pass distance.only to the native
  implementation and avoid returning the two large matrices)



== Scratch notes ==

library(dtw,lib.loc="/tmp/")

s<-10000
m<-matrix(runif(s*s),s,s)
system.time(dtw(m))

 m <- matrix(1,ncol=10,nrow=10)
  for(i in 2:10)for(j in 2:10)m[i,j]<-m[i-1,j]+m[i-1,j-1]+m[i,j-1]




TEST CASE for Itakura
1  0  1  1
1  1 10 10
1  1 10 10

Type IV: 3 ?
Itakura: 13 ?
back to top