Skip to main content

model_schemas

Config YAML specification classes related to models and model references.

Classes

BitfountModelReferenceConfig

class BitfountModelReferenceConfig(    model_ref: Union[Path, str],    model_version: Optional[int] = None,    username: Optional[str] = None,    weights: Optional[str] = None,):

Configuration for BitfountModelReference.

Variables

  • static model_version : Optional[int]
  • static username : Optional[str]
  • static weights : Optional[str]

ModelConfig

class ModelConfig(    name: Optional[str] = None,    structure: Optional[ModelStructureConfig] = None,    bitfount_model: Optional[BitfountModelReferenceConfig] = None,    hyperparameters: _JSONDict = {},    logger_config: Optional[LoggerConfig] = None,    dp_config: Optional[DPModellerConfig] = None,):

Configuration for the model.

Variables

  • static hyperparameters : dict[str, typing.Any]
  • static name : Optional[str]

ModelStructureConfig

class ModelStructureConfig(name: str, arguments: _JSONDict = {}):

Configuration for the ModelStructure.

Variables

  • static name : str