Module Assign NameStore Str Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore BinOpDiv BinOpDiv Num NameLoad NameLoad Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Str For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Num Num keyword NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpSub Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A __author__ Thomas Rueckstiess, Frank Sehnke N/A __version__ $Id$ pybrain.tools.example_tools ExTools pybrain.tools.shortcuts buildNetwork pybrain.rl.environments.cartpole CartPoleEnvironment BalanceTask pybrain.rl.agents LearningAgent pybrain.rl.learners Reinforce pybrain.rl.experiments EpisodicExperiment N/A batch 50 N/A prnts 4 N/A epis N/A N/A 4000 batch prnts N/A numbExp 10 N/A et N/A ExTools batch prnts kind learner N/A runs N/A range numbExp N/A N/A env N/A CartPoleEnvironment N/A task N/A BalanceTask env 200 desiredValue None N/A net N/A buildNetwork 4 1 bias False N/A agent N/A LearningAgent net N/A Reinforce N/A N/A et agent agent N/A experiment N/A EpisodicExperiment task agent N/A updates N/A range epis N/A N/A i N/A range prnts N/A N/A N/A N/A experiment doEpisodes batch N/A N/A state action reward N/A N/A N/A N/A agent learner dataset getSequence N/A N/A N/A N/A N/A agent learner dataset getNumSequences 1 N/A N/A N/A et printResults N/A N/A reward sum runs updates N/A N/A N/A et addExps N/A N/A N/A et showExps