mlrl.testbed.experiments.file_path module

Author Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes for representing paths to files.

class mlrl.testbed.experiments.file_path.FilePath(directory: Path, file_name: str, suffix: str, context: Context)

Bases: object

The path to a file, data can be written to or read from.

resolve(state: ExperimentState) Path

Determines and returns the path to the file to which output data should be written.

Parameters:

state – The state from which the output data has been generated

Returns:

The path to the file to which output data should be written