Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Fast Imprementation of the Dynamic Time Warping

Project description


Fast Imprementation of the Dynamic Time Warping For Python.


pip install pydtw


Alignment for two 1-dimensional sequences

from pydtw import dtw1d
import numpy as np
a = np.random.rand(10)
b = np.random.rand(15)
cost_matrix, alignmend_a, alignmend_b = dtw1d, a, b)

Alignment for two 2-dimensional sequences

from pydtw import dtw2d
import numpy as np

a = np.random.rand(10, 4)
b = np.random.rand(15, 4)
cost_matrix, alignmend_a, alignmend_b = dtw2d, a, b)

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pydtw-1.0.0.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page