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

Uploaded Source

Built Distribution

pairwisedist-1.3.1-py3-none-any.whl (15.0 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