Curve similarity measures
Project description
CurveSimilarities
Curve similarity measures, implemented using Numba.
List of supported measures:
- Dynamic time warping distance (
dtw()
) - (Continuous) Fréchet distance (
fd()
) - Discrete Fréchet distance (
dfd()
) - Integral Fréchet distance (
ifd()
) - Average Fréchet distance (
afd()
)
Usage
>>> from curvesimilarities import fd # (Continuous) Fréchet distance
>>> fd([[0, 0], [1, 3], [2, 0]], [[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.1.4.tar.gz
(16.4 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f0f9621fdbee8283a38afef42df9a1a4c04e43994f5b7dbca68794fee91fed8 |
|
MD5 | 709f0b6a8be92accc9cc1530fdfa4fcd |
|
BLAKE2b-256 | 9073bde5e2bb9220569c9b2c53a2f61106f82b4ebd6654780782ef09b0f74007 |