Jaccard metric calculations for boolean vectors
Project description
boolean_jaccard
Calculate Jaccard metrics for boolean values.
The source code lives on github.
The documentation lives at ReadTheDocs.
The project can be installed from PyPI.
Abstract
The code here represents a python implementation of the Jaccard package hosted here by N. Chung. Its citation follows.
Citation
Chung, N., Miasojedow, B., Startek, M., and Gambin, A. "Jaccard/Tanimoto similarity test and estimation methods for biological presence-absence data" BMC Bioinformatics (2019) 20(Suppl 15): 644. https://doi.org/10.1186/s12859-019-3118-5
Installation
It's a PyPI package, so the pocess is pretty straightforward:
pip install -U boolean_jaccard # for most recent version
pip install -U boolean_jaccard==0.0.1 # for a specific version
A list of all released versions can be found at our tags.
A Note on Version Numbers
boolean_jaccard
uses strict automated semantic versioning.
As such,
we guarantee bugfixes in path releases,
backwards compatible features in minor releases,
and breaking changes in major releases.
We will endeavour to avoid breaking changes where possible,
but,
should they occur,
they will only be in major releases.
Installing from Source
Most users **will not need** these instructions.
If you need to customise the code in some manner, you'll need to install from source. To do that, either clone the repository from github, or download one of our releases. For full instructions, please see our guide on contributing.
Contributing
Open-source software is only open-source becaues of the excellent community, so we welcome any and all contributions! If you think you have found a bug, please log a report in our issues. If you think you can fix a bug, or have an idea for a new feature, please see our guide on contributing for more information on how to get started! While here, we request that you follow our code of conduct to help maintain a welcoming, respectful environment.
Future Developments
- Fully vectorise to improve performance.
Citations
If you use boolean_jaccard
in your work,
please cite the following manuscripts:
- Chung, N., Miasojedow, B., Startek, M., and Gambin, A. "Jaccard/Tanimoto similarity test and estimation methods for biological presence-absence data" BMC Bioinformatics (2019) 20(Suppl 15): 644. https://doi.org/10.1186/s12859-019-3118-5
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
Built Distribution
File details
Details for the file boolean_jaccard-0.1.1.tar.gz
.
File metadata
- Download URL: boolean_jaccard-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659c67d7009991debc7b48b52928b5ae6a954c9829ca0e351b1c214b681bf512 |
|
MD5 | a147e7824f6d5aefd58887f358be89f0 |
|
BLAKE2b-256 | ecce58bf5f6b472b0838aeeece2f42b95daf90122f2221d3219d75df574bc7cf |
File details
Details for the file boolean_jaccard-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: boolean_jaccard-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072750e0d3ce1f839b8b6dfb35d15f7167629d00cf5edaa8e358e8c9d16c3433 |
|
MD5 | 999de953db318a65b1afee9f4485be2e |
|
BLAKE2b-256 | d6ba1cfd778695e045115a90ec4b4d0a2497a76a9e7bf83518c3d6d19b196c62 |