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

How to manually set Covariance matrix #236

Open
jeremy313 opened this issue Jun 19, 2023 · 1 comment
Open

How to manually set Covariance matrix #236

jeremy313 opened this issue Jun 19, 2023 · 1 comment
Labels
howto use cases, procedures, and workarounds

Comments

@jeremy313
Copy link

Hi. May I ask how I can manually set or modify the covariance matrix C or the eigenvectors B in initialization and during optimization? It seems not to work when I assign new values to es.C or es.sm.C.

Thanks.

@nikohansen
Copy link
Contributor

nikohansen commented Jun 24, 2023

Setting es.sm.C should do, however you also have to call some methods that update the sample matrices such that C is immediately used for sampling. The _copy_light method is a template you could follow for this.

@nikohansen nikohansen added the howto use cases, procedures, and workarounds label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
howto use cases, procedures, and workarounds
Projects
None yet
Development

No branches or pull requests

2 participants