Reinforcement Learning, Ciencia De Dados, Data Science, Machine Learning.
0.25*1*(rewards[move_left(s)] + 1*V[move_left(s)]), 0.25*1*(rewards[move_right(s)] + 1*V[move_right(s)]), 0.25*1*(rewards[move_up(s)] + 1*V[move_up(s)]), 0.25*1*(rewards[move_down(s)] + 1*V[move_down(s)]) ] V[s] = max(v_actions) V[12] = 0 #estado terminal sempre tem value function = 0