Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ reset
Method
reset
rl3/flappy2envs.py:38–40 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
36
return
obs, reward, done
37
38
def
reset(self):
39
self.env.reset_game()
40
return
self.get_observation()
41
42
def
get_observation(self):
43
# game state returns a dictionary which describes
Callers
2
flappy2envs.py
File · 0.45
reward_function
Function · 0.45
Calls
1
get_observation
Method · 0.95
Tested by
no test coverage detected