Skip to main content

Curve similarity measures

Project description

CurveSimilarities

License CI CD Docs Supported Python Versions PyPI Version

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())

... and more.

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:

https://curvesimilarities.readthedocs.io/

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


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.2.1.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

curvesimilarities-0.2.1-py3-none-any.whl (18.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page