Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rlcode/reinforcement-learning
/ get_value
Method
get_value
1-grid-world/2-value_iteration.py:56–57 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
54
return
action_list
55
56
def
get_value(self, state):
57
return
round(self.value_table[state[0]][state[1]], 2)
58
59
if
__name__ ==
"__main__"
:
60
env = Env()
Callers
2
value_iteration
Method · 0.95
get_action
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected