src.fairreckitlib.model.pipeline.model_config

This module contains the model configuration.

Classes:

ModelConfig: model configuration.

Functions:

api_models_to_yml_format: format model configurations from different APIs to be yml compatible.

This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course. © Copyright Utrecht University (Department of Information and Computing Sciences)

 1"""This module contains the model configuration.
 2
 3Classes:
 4
 5    ModelConfig: model configuration.
 6
 7Functions:
 8
 9    api_models_to_yml_format: format model configurations from different APIs to be yml compatible.
10
11This program has been developed by students from the bachelor Computer Science at
12Utrecht University within the Software Project course.
13© Copyright Utrecht University (Department of Information and Computing Sciences)
14"""
15
16from dataclasses import dataclass
17
18from ...core.config.config_object import ObjectConfig
19
20
21@dataclass
22class ModelConfig(ObjectConfig):
23    """Model Configuration.
24
25    name: the name of the model.
26    params: the parameters of the model.
27    """
@dataclass
class ModelConfig(src.fairreckitlib.core.config.config_object.ObjectConfig):
22@dataclass
23class ModelConfig(ObjectConfig):
24    """Model Configuration.
25
26    name: the name of the model.
27    params: the parameters of the model.
28    """

Model Configuration.

name: the name of the model. params: the parameters of the model.

ModelConfig(name: str, params: Dict[str, Any])