BaggingDocEnsemble.Config

Component: BaggingDocEnsemble

class BaggingDocEnsemble.Config[source]

Bases: Ensemble.Config

Configuration class for BaggingDocEnsemble. These attributes are used by Ensemble.from_config() to construct instance of BaggingDocEnsemble.

models

List[DocModel.Config] – List of document classification model configurations.

All Attributes (including base classes)

models: List[DocModel.Config]
sample_rate: float = 1.0

Warning

This config has parameters with no default values. We aren’t yet able to generate functional JSON for it.