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.0a3.tar.gz
(20.8 kB
view hashes)
Built Distribution
Close
Hashes for curvesimilarities-0.4.0a3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eecb98ccf0d03bf3c331bb5a683a6b3d0b47515589dee06890c851bda84a5800 |
|
MD5 | 9c51528675fce5ec40761a07b3277c67 |
|
BLAKE2b-256 | d15e08c0a9e1f8f3fe7b4d0ef87783d6dcc231d3656d459752d330ca3d4dc1ef |
Close
Hashes for curvesimilarities-0.4.0a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2313a6fbb82e263386fe5a5e702de4757002f5bd8a38df07d92c6b05d6d6af21 |
|
MD5 | badeb5ed8f23cf21d3290e69ba098b50 |
|
BLAKE2b-256 | a9261e4ccf4676f0f577bf05b21e51a5fe60b8fbeca01e946452a7c6d66278b8 |