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.0a1.tar.gz
(20.9 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.4.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5bb52c8018fda4823d6088e91f4ed69646de26f8909e7f3b1b63abeb522924 |
|
MD5 | ce4d0f2da59e5edecd258cae95d9d521 |
|
BLAKE2b-256 | e8d42d8a679746f14744b0417cf91d802f8068c169b8b98a22c0ef3af4681014 |
Close
Hashes for curvesimilarities-0.4.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb68b04c268984e149a5a572558b38889208ec1fe99b64b65592d604a7c3c77 |
|
MD5 | d387d862ea92fe3f9a211657160cb786 |
|
BLAKE2b-256 | 3bbeebf93f1fb4bd1232c8aea13fa81dce1639230434ffed4aae638b7c39fde1 |