MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / reset_history

Method reset_history

rl/tic_tac_toe.py:48–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.verbose = v
47
48 def reset_history(self):
49 self.state_history = []
50
51 def take_action(self, env):
52 # choose an action based on epsilon-greedy strategy

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected