Reinforcement Learning - Return Function

  • Thread starter Thread starter tsaitea
  • Start date Start date
  • Tags Tags
    Function
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.
 
##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.
 

Similar threads

  • · Replies 34 ·
2
Replies
34
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 16 ·
Replies
16
Views
7K
Replies
20
Views
3K
  • · Replies 28 ·
Replies
28
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K