Skip to content

Commit

Permalink
Adding a small explication of the Q-Learning formula
Browse files Browse the repository at this point in the history
  • Loading branch information
VOCdevShy authored Mar 21, 2024
1 parent 2fe21d1 commit 271ece8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you want more information about Q-Learning and the Frozen Lake game, please r

Do your own test by moving values if you want!

For those who are interested by the calculation of the Q-Table here is an explacation:
For those who are interested by the calculation of the Q-Table here is an explication:

`qtable[state, action] = qtable[state, action] + alpha * (reward + gamma * np.max(qtable[next_state, :]) - qtable[state, action])`

Expand Down

0 comments on commit 271ece8

Please sign in to comment.