Skip to content

Optimizer exit criteria - #405

Open
mohit-surana wants to merge 2 commits into
HIPS:masterfrom
mohit-surana:optimizer-exit-criteria
Open

Optimizer exit criteria#405
mohit-surana wants to merge 2 commits into
HIPS:masterfrom
mohit-surana:optimizer-exit-criteria

Conversation

@mohit-surana

Copy link
Copy Markdown

Original issue at: #390

Optimizers in the autograd package do not have well defined exit criteria and thus users are forced to set a given number of iterations upfront.

The changes in the PR improve upon this by allowing the user to return a (has) converged value from the optional callback function sent to the optimizer.

@mohit-surana

Copy link
Copy Markdown
Author

@dougalm @duvenaud @mattjj
Kindly review. Thanks!

@asross

asross commented Oct 16, 2018

Copy link
Copy Markdown

👍 This would be pretty helpful!

@maedoc

maedoc commented Feb 2, 2019

Copy link
Copy Markdown

I was going to make a PR with exactly this functionality (well, with raise StopIteration instead of a return True), but it's already done.

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.

3 participants