API reference¶
The reference is generated from the docstrings in the source, so it always matches the installed version. It is organised by module:
| Module | Contents |
|---|---|
asymcat.scorer.CatScorer |
The scorer: every association measure, smoothing, entropy estimation, permutation tests and bootstrap intervals |
asymcat.scorer functions |
Measures on raw series or tables, and helpers to scale, invert and reshape scores |
asymcat.common |
Reading data and collecting co-occurrences, n-grams, observations and contingency tables |
asymcat.correlation |
Association between two whole variables |
The top-level package re-exports the names most often needed:
>>> import asymcat
>>> sorted(asymcat.__all__)
['CatScorer', 'build_ct', 'collect_alphabets', 'collect_cooccs', 'collect_ngrams', 'collect_observations', 'correlation', 'read_pa_matrix', 'read_sequences', 'scorer']
Each measure page also includes the reference entry of its methods, next to their definition and examples.