yacmmal.types package

Submodules

yacmmal.types.config module

class yacmmal.types.config.Config(*, paths: pydantic.main.BaseModel = None, database: pydantic.main.BaseModel = None, hyperparameters: pydantic.main.BaseModel = None, experiment: pydantic.main.BaseModel = None, training: pydantic.main.BaseModel = None, evaluation: pydantic.main.BaseModel = None, optimization: pydantic.main.BaseModel = None, deploy: pydantic.main.BaseModel = None)[source]

Bases: pydantic.main.BaseModel

The default configuration dataclass of yacmmal.

database: Optional[pydantic.main.BaseModel]
deploy: Optional[pydantic.main.BaseModel]
evaluation: Optional[pydantic.main.BaseModel]
experiment: Optional[pydantic.main.BaseModel]
hyperparameters: Optional[pydantic.main.BaseModel]
optimization: Optional[pydantic.main.BaseModel]
paths: Optional[pydantic.main.BaseModel]
training: Optional[pydantic.main.BaseModel]
class yacmmal.types.config.ConfigAttrs(value)[source]

Bases: enum.Enum

The attributes supported by yacmmal’s Config dataclass.

database = 2
deploy = 8
evaluation = 6
experiment = 4
hyperparameters = 3
optimization = 7
paths = 1
training = 5

yacmmal.types.formats module

class yacmmal.types.formats.ConfigFormat(value)[source]

Bases: enum.Enum

Enum for the different formats of the data.

CONF = 4
INI = 5
JSON = 1
TOML = 3
YAML = 2

Module contents