Merge pull request #624 from kuduwa-keshavram/patch-1

Simple grammatical change in q-learning.mdx LGTM
This commit is contained in:
Thomas Simonini
2025-06-18 14:40:06 +02:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ The **Q comes from "the Quality" (the value) of that action at that state.**
Let's recap the difference between value and reward:
- The *value of a state*, or a *state-action pair* is the expected cumulative reward our agent gets if it starts at this state (or state-action pair) and then acts accordingly to its policy.
- The *reward* is the **feedback I get from the environment** after performing an action at a state.
- The *reward* is the **feedback it gets from the environment** after performing an action at a state.
Internally, our Q-function is encoded by **a Q-table, a table where each cell corresponds to a state-action pair value.** Think of this Q-table as **the memory or cheat sheet of our Q-function.**