Skip to content

A and D needing to be normalized #78

Answered by conorheins
helenegu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @helenegu,
Thanks a lot for your question!

Importantly, pymdp does not require artificially up-scaling a and d to disable learning of the A and D arrays. In order to disable learning of these model parameters, all you need to do when initializing an Agent() object is to pass in the constructor variables pA or pD (or pB, in case you're also learning B) to None, which is the default value anyway. Note: pA, pB, and pD are the equivalent of a, b, and d in MATLAB versions of POMDP active inference.

However, if you want to enable learning, but just keep it with a low learning rate, then you may do the scaling exactly as you described (multiplying by 50 or 128 or whatever), but you should per…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@helenegu
Comment options

@conorheins
Comment options

Answer selected by helenegu
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