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 | | |
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
Built Distribution
Hashes for pairwisedist-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad574871e7f60cba1bd0e161a20467bf2c5d17e4dffc4ecd52fb5380bc736c3 |
|
MD5 | ee2a60b05e81f3233f3a817de30bd359 |
|
BLAKE2b-256 | 5935d57d09c614927bf2cd04e2ce1e363f8526087c1e775f70efb197f65992d7 |