MCPcopy
hub / github.com/tensorlayer/TensorLayer / tutorial_Qlearning.py

File tutorial_Qlearning.py

examples/reinforcement_learning/tutorial_Qlearning.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Q-Table learning algorithm.
2Non deep learning - TD Learning, Off-Policy, e-Greedy Exploration
3Q(S, A) <- Q(S, A) + alpha * (R + lambda * Q(newS, newA) - Q(S, A))
4See David Silver RL Tutorial Lecture 5 - Q-Learning for more details.

Callers

nothing calls this directly

Calls 4

resetMethod · 0.45
stepMethod · 0.45
saveMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected