bolero.behavior_search
.JustContextualOptimizer¶bolero.behavior_search.
JustContextualOptimizer
(optimizer)[source]¶Wrap only the contextual optimizer.
Internally, we use a behavior that only returns the parameter vector that has been generated by the optimizer.
Parameters: |
|
---|
get_args
()¶Get parameters for this estimator.
Returns: |
|
---|
get_best_behavior_template
()¶Return current best estimate of contextual policy.
get_desired_context
()¶Chooses desired context for next evaluation.
Returns: |
|
---|
set_context
(context)¶Set context of next evaluation.
Note that the set context need not necessarily be the same that was requested by get_desired_context().
Parameters: |
|
---|