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()
)
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.3.0a2.tar.gz
(17.0 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.3.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c0e5b7e63dc636af13002565688bfc58afbd4de032df6e06df98478c390d69 |
|
MD5 | 412c4be74c0898b86a430fdbbeca0b15 |
|
BLAKE2b-256 | f3aab73852ffaa30fddb22849be4f31811721ecc45ecda10b7aa65ba59442afc |
Close
Hashes for curvesimilarities-0.3.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 449a771c654bf5044361314637d31b029dfe21b38888f0cb23957f36ff1311eb |
|
MD5 | c78ed1de6034bd96245216bbc9e803f2 |
|
BLAKE2b-256 | 9211afb01445fac3f60601c5ce3988013288a5c46483f705eaabccaab8ae6ab7 |