Skip to content

jihuni/pydtw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydtw

pydtw is a simple python wrapper of libdtw, which is a fast, dynamic time warping library based on the UCR Suite.

Building

python setup.py bdist_egg

Usage

import dtw
r=0.05
results=dtw.query(data, query, r)
  • input
    • data : numpy.array of data
    • query : numpy.array of the pattern to be matched
    • r : size of warping window
  • result : dict
    • results[index] : the index of the first element in the best matching sequence in the data.
    • resulss[value] : the DTW distance between the query and the matching sequence in the data.

About

Fast dynamic time warping library based on the UCR Suite http://www.cs.ucr.edu/~eamonn/UCRsuite.html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 94.5%
  • Python 4.8%
  • Makefile 0.7%