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
Implement StopAfterThresholdReached hook #92
Conversation
Thanks! Here are my thoughts:
|
I can fix those things. Re "at_least": My thinking went something like "stop when accuracy is at least 97 %". When it comes to documentation, I think I'll wait until there's documentation with examples for |
Yes, 'at least' parses fine, but saying stop when loss is at most 0.1 doesn't really work well. |
|
286a20b
to
d2a92f4
Compare
|
d2a92f4
to
404f97a
Compare
|
404f97a
to
81be287
Compare
@flukeskywalker I've fixed the things you mentioned |
|
Implement StopAfterThresholdReached hook
Thanks! |
This hook stops the training when a certain accuracy, for example 97 %, is reached. Since it might be useful for others, I thought I'd share it.
Example usage:
This needs a test and some documentation. If there would be documentation and tests for the existing
EarlyStopper
, then I could write similar docs and tests for this hook.