ray.rllib.algorithms.algorithm_config.AlgorithmConfig.exploration#

AlgorithmConfig.exploration(*, explore: Optional[bool] = <ray.rllib.utils.from_config._NotProvided object>, exploration_config: Optional[dict] = <ray.rllib.utils.from_config._NotProvided object>) ray.rllib.algorithms.algorithm_config.AlgorithmConfig[source]#

Sets the config’s exploration settings.

Parameters
  • explore – Default exploration behavior, iff explore=None is passed into compute_action(s). Set to False for no exploration behavior (e.g., for evaluation).

  • exploration_config – A dict specifying the Exploration object’s config.

Returns

This updated AlgorithmConfig object.