mlpy.planners.explorers.discrete.DiscreteExplorer¶
-
class
mlpy.planners.explorers.discrete.
DiscreteExplorer
[source]¶ Bases:
mlpy.planners.explorers.IExplorer
The discrete explorer base class.
The explorer class executes the exploration policy by choosing a next action based on the current qvalues of the state-action pairs.
Notes
All discrete explorers should derive from this class.
Methods
activate
()Turn on exploration mode. choose_action
(actions, qvalues)Choose the next action according to the exploration strategy. deactivate
()Turn off exploration mode.