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.0a4.tar.gz
(20.9 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.4.0a4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07094e13ea226caaee1f6288b159925ae351e47fb2e0f8deca1573841d472133 |
|
MD5 | 7b1efbeadb952e45663be2e6e5fac3c0 |
|
BLAKE2b-256 | 6dc0db8bdde8c4f40f191628440a0e6e0d5850fa5c5a71efb92cac71d2242452 |
Close
Hashes for curvesimilarities-0.4.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33dcd3dde8f483b818fda2047c9f005bde6dd482e50bd6964ae47451c6f8562b |
|
MD5 | 45911a2e0b09a35280deba9edecfa016 |
|
BLAKE2b-256 | 87615b4520c9243bd367cf76f38cc4e30f645a158e8264074b559970ec082621 |