Calculation of Term 1 in G
Opened this issue · 0 comments
I am having trouble understanding why for term 1, the sum is taken between the two computed entropy terms:
deep-active-inference-mc/src/tfmodel.py
Lines 343 to 344 in c40ef0d
I understand this gives the sum of two entropy terms (where ps1
qs1
But in the paper, we see that term 1 is given by:
Why is there the discrepancy between the "+" and the "-"? Or where is my understanding breaking down? Am I simplifying the equations incorrectly? If so, can you explain how to correctly transform between the two?