How-to guides¶
Task-oriented guides, each answering one practical question. They assume you have read the Tutorial.
- Build frequency distributions: from words, n-grams, characters, k-mers and any iterable.
- Choose
bins: the number of possible elements, and why it matters. - Work in log space: adding log-probabilities, mixing models with log-sum-exp, and the floor for impossible elements.
- Scale to large data: streaming updates, vectorized and lazy scoring, compact storage.
- Save, load and refit: persisting fitted estimators and the scikit-learn-style API.
- Worked examples by domain: ecology, genomics and categorical data.
- Plot a smoothed distribution: observed frequencies against smoothed estimates.