Reinforcement Learning - Return Function

  • Thread starter Thread starter tsaitea
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
tsaitea
Messages
19
Reaction score
0
TL;DR
In this post on the Return function is indexed by k?
1576126497380.png

Where did the k come from? I was expecting the index to be t.
 
Physics news on Phys.org
##t## tells you the index of the first term you are summing over, so you can't sum over that. You need to sum over a new index, called a dummy index - they've chosen ##k##. Note that if you expand the sum, you will replace ##k## with 0 in the zeroth term, replace it with 1 in the first term, and so on - ##k## disappears when you expand the sum. If you'd summed over ##t##, ##t## would likewise be replaced and disappear when you expanded sum, which is not what you want.