Skip to main content

Fast Imprementation of the Dynamic Wime Warping

Project description

pydtw

Fast Imprementation of the Dynamic Time Warping For Python.

install

pip install pydtw

usage

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, cost, 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, cost, alignmend_a, alignmend_b = dtw2d(a, b)

Project details


Download files

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

Source Distribution

pydtw-2.0.2.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file pydtw-2.0.2.tar.gz.

File metadata

  • Download URL: pydtw-2.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pydtw-2.0.2.tar.gz
Algorithm Hash digest
SHA256 9d3d5bd243a34a07fc05e8468bf179cec9c035fc53f62b5f4ac1b73d8a44ab5d
MD5 80abd0e35929ee0bbedcf4d6d98d8c42
BLAKE2b-256 ce61f6735cccdbff6536b27533b61b470a9aeb67cf624cc7c0a7cd5fbad00894

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page