Replies: 4 comments
-
|
I guess you can just use |
Beta Was this translation helpful? Give feedback.
-
|
Hi @meditans , Thanks for trying out I won't contain any code in my answer because I do not know what your generative model looks like or which dependencies you would like to model, but we can have a discussion on what your requirements would be. For a general rule of thumb: reducing the complexity in your mathematical model directly corresponds to reducing the computational complexity of the inference, and in general (the goal is) that |
Beta Was this translation helpful? Give feedback.
-
|
Thank you both for answering, and @wouterwln you're right, I meant every observation is only influenced by the state it represents (so we have 100 observations). What I want to do for this example is creating an active inference agent that sees these 100 locations, initially with belief [0.5, 0.5] each, and has an action for each one. I know that free energy minimization will compel it to open each location in turn to gain knowledge about the content (I did this experiment in pymdp with 3 cells), Given |
Beta Was this translation helpful? Give feedback.
-
|
Let's say your states are one in 4, and your observations are 1 in 5. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I recently started learning about active inference, and used the python
pymdplibrary to start coding examples as I went along. However, I found a limitation, and I'd like to understand if I can get around it with RxInfer.Imagine your state is a
10x10grid, in which each cell can be on or off (independently), so the number of possible states is 2^100. We want to express the probability of observation given the state, but inpymdpthis is encoded in a tensor, and this tensor will haven_observation x n_stateselements. Given the big number of states, it's impossible to create this tensor if one wants to model large grids. But in my case that matrix is extremely sparse, and so I wondered if RxInfer had a way of encoding it in a more memory efficient way. I would like to write it down as just a function. As a data point, the pomdp control example uses theDiscreteTransitionnode, which seems to be encoding the information as a tensor.Do you have any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions