Expand description
Online mixtures of probabilistic predictors (log-loss Hedge / Bayes, switching, MDL).
This module provides a small, rigorously correct toolkit for sequential model mixing. Predictors expose per-symbol log-probabilities, which allows principled Bayesian mixture updates and clean information-theoretic accounting.
§Rate-Backend Mixtures
The mixture primitives here power RateBackend::Mixture, enabling Bayes, fading Bayes,
switching, and MDL-style selectors to be used anywhere a rate backend is accepted.
Structs§
- Bayes
Mixture - Exponential-weights Bayes mixture (log-loss Hedge).
- Expert
Config - Configuration for a mixture expert.
- Fading
Bayes Mixture - Exponential-weights Bayes mixture with exponential forgetting on weights.
- MdlSelector
- MDL-style selector: predicts with the current best expert (by cumulative loss).
- Switching
Mixture - Switching mixture: allows occasional switches between experts.
Enums§
- Mixture
Runtime - Rate
Backend Predictor - A concrete online predictor backed by a
RateBackendconfiguration.
Constants§
- DEFAULT_
MIN_ PROB - Default minimum probability floor to avoid log(0).
Traits§
- Online
Byte Predictor - Trait for online byte-level predictors that expose per-symbol log-probabilities.