Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Improved on the documentation of explorers #83

merged 2 commits into from

2 participants


I added a table of explorers and a documentation on how to add explorers to your LearningAgent. Which was completely absent until now.

@rueckstiess rueckstiess merged commit a8ae0db into pybrain:master

Thanks, yes I think this was necessary and will be very helpful for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 4, 2012
  1. @DavoudTaghawiNejad
Commits on Aug 5, 2012
  1. @DavoudTaghawiNejad

    Update pybrain/rl/explorers/

    DavoudTaghawiNejad committed
    Added table of explorers and explanation how to add explorers to a LearningAgent 
This page is out of date. Refresh to see the latest.
Showing with 23 additions and 1 deletion.
  1. +23 −1 pybrain/rl/explorers/
24 pybrain/rl/explorers/
@@ -8,6 +8,28 @@ class Explorer(Module):
""" An Explorer object is used in Agents, receives the current state
and action (from the controller Module) and returns an explorative
action that is executed instead the given action.
+ Continous explorer will produce continous action states, discrete
+ once discrete actions accordingly.
+ Explorer action episodic?
+ =============================== ========= =========
+ NormalExplorer continous no
+ StateDependentExplorer continous yes
+ BoltzmannExplorer discrete no
+ EpsilonGreedyExplorer discrete no
+ DiscreteStateDependentExplorer discrete yes
+ Explorer has to be added to the learner before adding the learner
+ to the LearningAgent.
+ For Example::
+ controller = ActionValueNetwork(2, 100)
+ learner = SARSA()
+ learner.explorer = NormalExplorer(1, 0.1)
+ self.learning_agent = LearningAgent(controller, learner)
def activate(self, state, action):
@@ -20,4 +42,4 @@ def activate(self, state, action):
def newEpisode(self):
""" Inform the explorer about the start of a new episode. """
- pass
+ pass
Something went wrong with that request. Please try again.