Modeling Dyshomeostasis and Its Potential Causes by Active Inference Prerequisites All our models use SPM12. Unpack spm12 to the root folder of this project. Models This repository contains the two models mentioned in the paper. Model 1 can be evaluated by running run.m Model 2 can be evaluated by running trial.m Paper Our paper explains the active inference models.