A and D needing to be normalized #78
-
Hi! according to the paper However, when I tried to do the same using pymdp, I was told a and d need to be normalized. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @helenegu, Importantly, 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 perform that scaling on the We have a nice utility function
The critical point being that |
Beta Was this translation helpful? Give feedback.
Hi @helenegu,
Thanks a lot for your question!
Importantly,
pymdp
does not require artificially up-scalinga
andd
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 anAgent()
object is to pass in the constructor variablespA
orpD
(orpB
, in case you're also learningB
) toNone
, which is the default value anyway. Note:pA
,pB
, andpD
are the equivalent ofa
,b
, andd
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…