Composition Statistics
Python module for compositional data analysis. Install with pip:
pip install composition_stats
The following functions are provided:
closure |
Performs closure to ensure that all elements add up to 1. |
multiplicative_replacement |
Replace all zeros with small non-zero alues |
perturb |
Performs the perturbation operation. |
perturb_inv |
Performs the inverse perturbation operation. |
power |
Performs the power operation. |
inner |
Calculates the Aitchson inner product. |
clr |
Performs centre log ratio transformation. |
clr_inv |
Performs inverse centre log ratio transformation. |
ilr |
Performs isometric log ratio transformation. |
ilr_inv |
Performs inverse isometric log ratio transform. |
alr |
Performs additive log ratio transformation. |
alr_inv |
Performs inverse additive log ratio transform. |
center |
Computes the geometric average of data. |
centralize |
Center data around its geometric average. |
sbp_basis |
Builds an orthogonal basis from a sequential binary partition (SBP). |
Please see the documentation for details and a complete function reference.
This is a fork of the essential compositional data functions of the skbio.stats.composition module from scikit-bio. However, for reasons of performance, the functions in this module expect inputs where compositions already sum to unity, and do not call closure() on inputs internally.
Metadata
Release files for composition-stats 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| composition_stats-2.0.0.tar.gz | 17.1 kB | Without provenance | Details for composition_stats-2.0.0.tar.gz |
Release files / composition_stats-2.0.0.tar.gz
| Download URL | composition_stats-2.0.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0f741ca968ef45a0c70d7a4ed68f4d140e82fddb4664a33f34ce213ddc66f6c
|
|
BLAKE2b-256 checksum How to use checksums |
56dd78da286398eec749c3c561cf98ef5a11483a0605659dec4d9bda5e2556f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|
Security for composition-stats 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.