bolero.behavior_search.ContextualBehaviorSearch¶bolero.behavior_search.ContextualBehaviorSearch[source]¶Common interface for (contextual) behavior search.
__init__()¶x.__init__(…) initializes x; see help(type(x)) for signature
get_args()¶Get parameters for this estimator.
| Returns: |
|
|---|
get_behavior_from_results(result_path)[source]¶Recover search state from file.
| Parameters: |
|
|---|
get_desired_context()[source]¶Chooses desired context for next evaluation.
| Returns: |
|
|---|
get_next_behavior()[source]¶Obtain next behavior for evaluation.
| Returns: |
|
|---|
init(n_inputs, n_outputs, n_context_dims)[source]¶Initialize the behavior search.
| Parameters: |
|
|---|
is_behavior_learning_done()[source]¶Check if the behavior learning is finished, e.g. it converged.
| Returns: |
|
|---|
set_context(context)[source]¶Set context of next evaluation.
Note that the set context need not necessarily be the same that was requested by get_desired_context().
| Parameters: |
|
|---|