bolero.controller
.Controller¶bolero.controller.
Controller
(config=None, environment=None, behavior_search=None, **kwargs)[source]¶A controller implements the communication between learning components.
Controllers organize communication between Environment and BehaviorSearch. The code should neither depend on the environment nor on the behavior search algorithm so that we can reuse a controller for as many scenarios as possible.
The controller subsection of the configuration dictionary may contain the following parameters:
learn()
Parameters: |
|
---|
episode
(meta_parameter_keys=(), meta_parameters=())[source]¶Execute one learning episode.
Parameters: |
|
---|---|
Returns: |
|
episode_with
(behavior, meta_parameter_keys=[], meta_parameters=[], record=True)[source]¶Execute a behavior in the environment.
Parameters: |
|
---|---|
Returns: |
|
get_args
()¶Get parameters for this estimator.
Returns: |
|
---|
learn
(meta_parameter_keys=(), meta_parameters=())[source]¶Learn the behavior.
Parameters: |
|
---|---|
Returns: |
|
trajectories_
¶inputs to the environment (outputs of the behavior)