Module ImportFrom alias Assign NameStore Str ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Num Assign NameStore Num If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr CompareEq NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad Num attr Expr Call NameLoad NameLoad Str Call NameLoad NameLoad
N/A __future__ print_function N/A __author__ Thomas Rueckstiess, ruecksti@in.tum.de pybrain.tools.shortcuts buildNetwork pybrain.rl.environments.cartpole CartPoleEnvironment CartPoleRenderer BalanceTask pybrain.rl.agents.learning LearningAgent pybrain.rl.experiments EpisodicExperiment scipy mean N/A sys N/A episodes 1 N/A epilen 200 N/A N/A N/A len N/A sys argv 5 N/A N/A N/A N/A sys exit please give 4 parameters. run: "python play_catpole.py <p1> <p2> <p3> <p4>"
 N/A env N/A CartPoleEnvironment N/A N/A N/A env setRenderer N/A CartPoleRenderer N/A N/A N/A N/A N/A env getRenderer start N/A N/A env delay N/A episodes 1 N/A task N/A BalanceTask env epilen N/A net N/A buildNetwork 4 1 bias False N/A agent N/A LearningAgent net None N/A N/A N/A N/A agent module _setParameters N/A N/A float N/A N/A sys argv N/A 1 N/A float N/A N/A sys argv N/A 2 N/A float N/A N/A sys argv N/A 3 N/A float N/A N/A sys argv N/A 4 N/A experiment N/A EpisodicExperiment task agent N/A N/A N/A experiment doEpisodes episodes N/A ret N/A N/A n N/A range N/A N/A N/A agent history getNumSequences N/A N/A returns N/A N/A N/A agent history getSequence n N/A reward N/A returns N/A 2 N/A N/A N/A ret append N/A N/A N/A sum reward 0 item N/A N/A print ret mean: N/A mean ret