compositional data analysis
Project description
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.
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
File details
Details for the file composition_stats-1.1.0.tar.gz
.
File metadata
- Download URL: composition_stats-1.1.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e8c031762438e2816f21c467e3fd88f9addfeb5ad71ee8ae16cda8758e31c12 |
|
MD5 | 2d8e4ab7e8dd5a316a85291a3d657246 |
|
BLAKE2b-256 | e5f9e826b1eda475f2811c03dc5a7ae2f74dbeabeea1293480935c2919361c34 |