Reinforcement Learning, Ciencia De Dados, Data Science, Machine Learning.
computá-la iterativamente: Fonte: Sutton, R.S. & Barto, A.G. Reinforcement Learning: An Introduction. 2.ed. Cambridge, MA: MIT Press, 2018 V = {s: 0 for s in states} thr = 1e-20 err = 10 k = 1 while err > thr: delta = 0 err = [] for s in states: v_old = V[s] v_actions = [