MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / reset

Method reset

rl3/es_flappy.py:44–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 return obs, reward, done
43
44 def reset(self):
45 self.env.reset_game()
46 return self.get_observation()
47
48 def get_observation(self):
49 # game state returns a dictionary which describes

Callers 15

test_agentFunction · 0.45
ddpgFunction · 0.45
es_mujoco.pyFile · 0.45
es_flappy.pyFile · 0.45
reward_functionFunction · 0.45
play_one_episodeFunction · 0.45
gather_samplesFunction · 0.45
test_agentFunction · 0.45
watch_agentFunction · 0.45
q_learning.pyFile · 0.45
gather_samplesFunction · 0.45

Calls 1

get_observationMethod · 0.95

Tested by 3

test_agentFunction · 0.36
test_agentFunction · 0.36
test_agentFunction · 0.36