mlrl.testbed.modes.mode_single module

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

Provides classes that implement a mode of operation for performing a single experiment.

class mlrl.testbed.modes.mode_single.SingleMode

Bases: Mode

A mode of operation that performs a single experiment.

configure_arguments(cli: CommandLineInterface)

Must be implemented by subclasses in order to configure the command line interface according to the mode of operation.

Parameters:

cli – The command line interface to be configured

run_experiment(args: Namespace, recipe: Recipe)

Must be implemented by subclasses in order to run an experiment according to the command line arguments specified by the user.

Parameters:
  • args – The command line arguments specified by the user

  • recipe – A Recipe that provides access to the ingredients that are needed for setting up experiments