Skip to content

Add Hesian computation for objective minimization#53

Open
Edouard2laire wants to merge 7 commits into
multifunkim:masterfrom
Edouard2laire:Hessian
Open

Add Hesian computation for objective minimization#53
Edouard2laire wants to merge 7 commits into
multifunkim:masterfrom
Edouard2laire:Hessian

Conversation

@Edouard2laire

Copy link
Copy Markdown
Collaborator

This PR is here to add the Hessian computation when minimizing the free energy, allowing the optimization toolbox to use the trust-region algorithm, leading to faster results while keeping the results identical.

On MEG data, this results in a ~30% decrease in the computation time (number of iterations drops from ~50 to ~5). One limitation is that the Hessian can only be computed (at least it was only derived in) the case of no active mean and no inactive variance. This is not a real issue, as this is the default setting of cMEM.

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