Skip to content

Optimization #221

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

Closed
clarazen opened this issue Sep 13, 2022 · 3 comments
Closed

Optimization #221

clarazen opened this issue Sep 13, 2022 · 3 comments

Comments

@clarazen
Copy link

Hello,

When running the test example (copy paste from the documentation) and trying to optimize the hyperparameters I get the error as in the figure attached. Is there a problem with Optim or with this package?

Thanks you,
I appreciate the help.

optimize_error

@chris-nemeth
Copy link
Member

Hi @clarazen. It looks like the syntax on the Optim package has changed. For the moment, removing method=ConjugateGradient will revert the optimizer back to its default algorithm, i.e. just using optimize!(gp) should work. I'll take a closer look at this and try to align our syntax with that of the Optim package.

@clarazen
Copy link
Author

Thanks Chris, indeed without specifying the method it works.

@chris-nemeth
Copy link
Member

Hi @clarazen. I've fixed the issue now and tagged a new version of the package. If you reinstall the package the optimize! function should work fine now with any of the Optim methods.

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