smartstart.smartexploration package

Submodules

smartstart.smartexploration.smartexploration module

SmartStart module

Defines method for generating a SmartStart object from an algorithm object. The SmartStart object will be a subclass of the original algorithm object.

generate_smartstart_object(base, env, *args, **kwargs)

Generates SmartStart object

Algorithms derived from TDLearning can be used to construct a SmartStart object. SmartStart becomes a direct subclass from the specified base class and inherits all their methods. SmartStart objects can be used in the same way as the original base class.

Note

Haven’t been able to figure out how to add the SmartStart class to the documentation. Because it is defined within this function it is hidden in the documentation.

Parameters:
  • base (TDLearning) – base algorithm to convert to SmartStart algorithm
  • env (Environment) – environment
  • *args – see SmartStart and the base class for possible parameters
  • **kwargs – see SmartStart and the base class for possible parameters
Returns:

SmartStart algorithm with the specified base class

Return type:

SmartStart

Module contents