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_ref : Union[pathlib.Path, str]
- 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
bitfount_model : Optional[BitfountModelReferenceConfig]
- static
dp_config : Optional[DPModellerConfig]
- static
hyperparameters : dict[str, typing.Any]
- static
logger_config : Optional[LoggerConfig]
- static
name : Optional[str]
- static
structure : Optional[ModelStructureConfig]
ModelStructureConfig
class ModelStructureConfig(name: str, arguments: _JSONDict = {}):
Configuration for the ModelStructure.