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

WIP: rebase sDCM code for GUI integration #338

Merged
merged 9 commits into from
Mar 11, 2024
Merged

WIP: rebase sDCM code for GUI integration #338

merged 9 commits into from
Mar 11, 2024

Conversation

david-hofmann
Copy link
Member

WIP: Tests will fail, we now deviate from SPM12 implementation. I removed its idiosyncracies like the weight parameter C for external imputs and the dimensionality reduction matrix V.

Need to rebase the code using the new functions setup_sDCM and run_sDCM_iteration! which are designed to be used with the GUI.

…. These functions replace the former spectralVI and variationalbayes and are substantially more concise. I also removed idx_A and the matrix V which formerly mapped from the whole parameter space to the subspace whose variances were not 0. In this new implementation we define parameters as not tunable rather than setting their variance to 0 if we don't want to optimize them. I also removed C, which is unsatisfyingly implemented in SPM12 anyways and needs to be properly implemented here in the future
…nd epsilon_theta were not stored from one loop iteration to the next and the reset if an iteration resulted in a deterioration of free energy was not implemented correctly.
@david-hofmann david-hofmann merged commit 072bc20 into master Mar 11, 2024
2 checks passed
@david-hofmann david-hofmann deleted the sDCMforGUI branch March 11, 2024 08:00
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

Successfully merging this pull request may close these issues.

1 participant