1
$\begingroup$

What is the purpose of the arrow $\leftarrow$ in the formula below?

$$V(S_t) \leftarrow V(S_t) + \alpha \left[ G_t - V(S_t) \right]$$

I presume it's not the same as 'equals'.

$\endgroup$
2
$\begingroup$

I assume this is an iterative function. It means the current $V(S_t)$ is the sum of the previous plus some adjustment. The arrow is like an assignment.

In code, you would do

vst = vst + alpha * (gt - vst)

So vst will be overwritten.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.