Skip to main content

Calculate the pairwise-distance matrix for an array of *n* samples by *p* features, sing a selection of distance metrics.

Project description

pairwisedist

Useful links: Documentation | Source code | Bug reports | pipimage | travisci | downloads


What is pairwisedist?

Calculate the pairwise-distance matrix for an array of n samples by p features, using a selection of distance metrics. Currently supports the Jackknife-correlation dissimilarity, the Son and Baek dissimilarities YS1 and YR1, the Pearson correlation dissimilarity and the Spearman correlation dissimilarity.

How do I install pairwisedist?

You can install pairwisedist via PyPI. Use the following command in the python prompt:

$ pip install pairwisedist

History

1.3.1 (2023-01-13)

Changed

  • Added support for Python 3.11.

  • Updated required versions for numpy and scipy.

Fixed

  • Fixed bug where setup.py would install a directory named tests into site-packages folder (thanks to Bipin Kumar)

New Contributors

1.3.0 (2022-12-27)

Added

  • Added sharpened_cosine_distance().

Changed

  • Added support for Python 3.8-3.10, and relinquished support for Python <=3.7.

  • Updated versions of requirements and developer requirements.

1.2.0 (2020-06-21)

Added

  • Updated API to make imports easier (for example: ‘from pairwisedist import jackknife_distance’ instead of ‘from pairwisedist.pairwisedist import jackknife_distance’).

  • Added pearson_distance() and spearman_distance().

1.1.0 (2020-06-21)

Added

  • Added jackknife_distance().

1.0.0 (2020-06-18)

  • First release on PyPI.

Added

  • Added ys1_distance() and yr1_distance().

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

pairwisedist-1.3.1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

pairwisedist-1.3.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file pairwisedist-1.3.1.tar.gz.

File metadata

  • Download URL: pairwisedist-1.3.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for pairwisedist-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e90844311707430bcc37b3d441c8e9205fef9106e6908b05b0a1c7c17cf58742
MD5 7fb70febbac6a6b35584ab4c30e41f39
BLAKE2b-256 e7a90cf5761774f7fb11a8c86a900206d2398bb45402e20d6240023f85e51ceb

See more details on using hashes here.

File details

Details for the file pairwisedist-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: pairwisedist-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for pairwisedist-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ad574871e7f60cba1bd0e161a20467bf2c5d17e4dffc4ecd52fb5380bc736c3
MD5 ee2a60b05e81f3233f3a817de30bd359
BLAKE2b-256 5935d57d09c614927bf2cd04e2ce1e363f8526087c1e775f70efb197f65992d7

See more details on using hashes here.

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