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

[Feature request] Initialise with covariance matrix #270

Open
jpiabrantes opened this issue Oct 14, 2024 · 1 comment
Open

[Feature request] Initialise with covariance matrix #270

jpiabrantes opened this issue Oct 14, 2024 · 1 comment

Comments

@jpiabrantes
Copy link

Currently we can only initialise the solver with a scalar sigma, or (maybe) with diagonal matrix using the options?

I want to initialise using a full covariance matrix.

@nikohansen
Copy link
Contributor

See #236 and #255.

Generally, changing the initial covariance matrix from the identity to $C_0$ is equivalent with applying the linear transformation $\sqrt{C_0}^{-1}$ on the search space before calling the objective functions and the latter is generally preferable to the former. The latter can be implemented as a simple wrapper around the objective function. An implementation of the respective transformation which would be equivalent with setting the respective initial sample covariance matrix, or, in other words, "effectively change the covariance matrix without changing the covariance matrix" can be found here.

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

2 participants