How to implement a two-step task #106
Replies: 1 comment 5 replies
-
Hi @katiacracco, I am not aware of the details of the implementation or the specific generative model used in paper you shared, but from what you described, I would go about constructing a series of trials as follows (roughly in code below):
What this does is allows the agent to accumulate hidden state beliefs across trials, such that its beliefs about the hidden states at the first timestep of every trial ( I hope this helps, let me know if you have any more questions! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to use this package to implement an agent in a t-maze that has to execute two actions in a single trial. Then in the next trials it has to begin from the initial location, having in memory the inference of the precedent trials.
In particular, I tried to implement the behaviour described in the attached paper.
Which approach do you suggest to use?
Thank you very much for your availability!
Uploading Friston_Deeply Felt Affect_ The Emergence of Valence in Deep Active Inference.pdf…
Beta Was this translation helpful? Give feedback.
All reactions