Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ is_terminal
Method
is_terminal
rl/grid_world.py:34–35 ·
view source on GitHub ↗
(self, s)
Source
from the content-addressed store, hash-verified
32
return
(self.i, self.j)
33
34
def
is_terminal(self, s):
35
return
s not in self.actions
36
37
def
reset(self):
38
# put agent back in start position
Callers
7
evaluate_deterministic_policy
Function · 0.45
iterative_policy_evaluation_probabilistic.py
File · 0.45
iterative_policy_evaluation_deterministic.py
File · 0.45
approx_prediction.py
File · 0.45
value_iteration.py
File · 0.45
get_transition_probs_and_rewards
Function · 0.45
evaluate_deterministic_policy
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected