Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oscillations in the optimization procedure of SPM12 #8

Open
david-hofmann opened this issue Apr 13, 2022 · 0 comments
Open

Oscillations in the optimization procedure of SPM12 #8

david-hofmann opened this issue Apr 13, 2022 · 0 comments
Assignees

Comments

@david-hofmann
Copy link
Member

The optimization procedure to compute hyper parameter updates seems to be regularly running into periodic orbits. Is that the reason for terminating after 8 steps (and not allowing the user to even change this? It is hard coded)?
The relevant code part can be found in the MATLAB SPM12 file spm_nlsi_GN.m by searching the comment string M-step: Fisher scoring scheme to find h = max{F(p,h)}. In the Julia code it is here: https://github.com/Neuroblox/Dynamic-Causal-Modeling/blob/f1f51405c365f9e598d5ff8fe184a98f396bd5e1/VariationalBayes_for_spectralDCM.jl#L294

Need to have a closer look at this part of the code - maybe there is some fix to this?

@david-hofmann david-hofmann self-assigned this Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant