quantlab.model.config.PredictorViewConfig#
- class quantlab.model.config.PredictorViewConfig(predictor)[source]#
Bases:
objectFields every
quantlab.model.view.PredictorViewshares.predictoris the wrapped predictor, a model, an ensemble or another view; a view’s own config class subclasses this one and adds its fields.Examples
>>> sorted(PredictorViewConfig(predictor=None).__dataclass_fields__) ['predictor']
- predictor#
The wrapped predictor, to which the view forwards the protocol.