xplogger.experiment_manager package

Subpackages

Submodules

xplogger.experiment_manager.result module

Result class to interface with experiment results.

class xplogger.experiment_manager.result.Result(id: 'str', name: 'str', label: 'str', config_ids: 'list[str]', mongo_ids: 'list[str]', experiment_sequence: 'ExperimentSequence', metrics: 'dict[str, pd.DataFrame]', info: 'dict[str, Any]')[source]

Bases: object

config_ids: list[str]
experiment_sequence: ExperimentSequence
id: str
info: dict[str, Any]
label: str
metrics: dict[str, pd.DataFrame]
mongo_ids: list[str]
name: str
serialize(dir_path: pathlib.Path) pathlib.Path[source]

Save the result to the filesystem.

class xplogger.experiment_manager.result.ResultDB(path: Path, results: dict[str, Result])[source]

Bases: collections.UserDict

load_from_filesystem() None[source]

Load the result db from the filesystem.

save_to_filesystem() None[source]

Save the result db to the filesystem.

xplogger.experiment_manager.result.deserialize(dir_path: pathlib.Path) xplogger.experiment_manager.result.Result[source]

Load the result from the filesystem.

Module contents