Skip to content
Discussion options

You must be logged in to vote

Hi @ikedaaaaa , sorry for the late reply and thanks for your question!

You’re reading this correctly: from pure indexing, one more t+1 message is possible.
But in pymdp, this cutoff is intentional to be aligned with the original SPM/DEM implementation, not just an array-bounds guard.

The future_cutoff logic in

future_cutoff = past_len + future_len - 2
(with the multi-factor version at line 188) is coupled to the SPM-style update schedule -- see the coeff switch at
coeff = 1 if (t >= future_cutoff) else 2
, not only to whether qs_seq[t+1] exists.

In the MATLAB cross-va…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by conorheins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants