quantlab.model.config#

The config of the model layer.

A model is constructed from a ModelConfig and exposes it as self.config. It is frozen; the model’s config setter normalises the config it is given into a new one. The model’s factors, labels and tracker are declared with component() and written as their own configs.

Classes

ModelConfig

Config of every model head, torch or library.

PredictorViewConfig

Fields every quantlab.model.view.PredictorView shares.