Curve similarity measures
Project description
CurveSimilarities
A Numpy-friendly package for curve similarity measures.
List of supported measures:
- Dynamic time warping distance (
dtw()
) - (Continuous) Fréchet distance (
fd()
) - Discrete Fréchet distance (
dfd()
) - Integral Fréchet distance (
ifd()
)
Usage
>>> import numpy as np
>>> from curvesimilarities import fd # (Continuous) Fréchet distance
>>> fd(np.array([[0, 0], [1, 3], [2, 0]]), np.array([[0, 1], [2, 1]]))
2.0
Installation
CurveSimilarities can be installed using pip
.
$ pip install curvesimilarities
Documentation
CurveSimilarities is documented with Sphinx. The manual can be found on Read the Docs:
If you want to build the document yourself, get the source code and install with [doc]
dependency.
Then, go to doc
directory and build the document:
$ pip install .[doc]
$ cd doc
$ make html
Document will be generated in build/html
directory. Open index.html
to see the central page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
curvesimilarities-0.4.0a2.tar.gz
(20.9 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.4.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e06a369bac2b66673cf0eb85ee18bbbd43b445db679850d2460dda16ca97a80f |
|
MD5 | ba3c2cb7a9f499dec7f2562fbdef35dc |
|
BLAKE2b-256 | 23b6fe01c772731f99944e382bd9a1ebe5fa8a3a93e587cd4be254e0c38eeae0 |
Close
Hashes for curvesimilarities-0.4.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6539c3fc71b8a1985d3478bf2655dd72e2f945a3f0934d763960c3fcc2c733 |
|
MD5 | ebaf8b225c229aaaebdfb870d33ad4c4 |
|
BLAKE2b-256 | 3b55e2297cf34ba14efc1ee358d1ca1c0d7e98c8cf6ea1a45344ff804edd2973 |