Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_agent
Function · 0.45
ddpg
Function · 0.45
es_mujoco.py
File · 0.45
es_flappy.py
File · 0.45
reward_function
Function · 0.45
play_one_episode
Function · 0.45
gather_samples
Function · 0.45
test_agent
Function · 0.45
watch_agent
Function · 0.45
cartpole_gym0.19.py
File · 0.45
q_learning.py
File · 0.45
gather_samples
Function · 0.45
Calls
1
get_observation
Method · 0.95
Tested by
3
test_agent
Function · 0.36
test_agent
Function · 0.36
test_agent
Function · 0.36