Loader#

class gordo.machine.loader.GlobalsConfig[source]#

Bases: dict

dataset: dict | GordoBaseDataset#
evaluation: dict#
metadata: dict | Metadata#
model: dict#
runtime: dict#
class gordo.machine.loader.MachineConfig[source]#

Bases: dict

dataset: dict | GordoBaseDataset#
evaluation: dict#
metadata: dict | Metadata#
model: dict#
name: str#
runtime: dict#
exception gordo.machine.loader.MachineConfigException[source]#

Bases: ConfigException

class gordo.machine.loader.ModelConfig[source]#

Bases: dict

dataset: dict | GordoBaseDataset#
evaluation: dict#
metadata: dict | Metadata#
model: dict#
name: str#
project_name: str#
runtime: dict#
gordo.machine.loader.load_globals_config(config: dict, json_path: str | None = None) GlobalsConfig[source]#

Load GlobalsConfig from the dict

Parameters:
  • config – Config to load.

  • json_path – JSON path position of the config.

gordo.machine.loader.load_machine_config(config: dict, json_path: str | None = None) MachineConfig[source]#

Load MachineConfig from the dict

Parameters:
  • config – Config to load.

  • json_path – JSON path position of the config.

gordo.machine.loader.load_model_config(config: dict, json_path: str | None = None) ModelConfig[source]#

Load ModelConfig from the dict

Parameters:
  • config – Config to load.

  • json_path – JSON path position of the config.