Closed iver56 closed 8 years ago
Thanks! Here are my thoughts:
EarlyStopper
, and I believe incorrect.threshold
should not have a default value.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 EarlyStopper
. Then I can copy, paste and adapt so the documentation style becomes consistent.
Yes, 'at least' parses fine, but saying stop when loss is at most 0.1 doesn't really work well.
Repository health decreased by 0.02% when pulling 286a20b on iver56:threshold-hook into 8ab60fa on IDSIA:master.
Repository health decreased by 0.02% when pulling d2a92f4 on iver56:threshold-hook into f80250c on IDSIA:master.
Repository health decreased by 0.04% when pulling 404f97a on iver56:threshold-hook into f80250c on IDSIA:master.
@flukeskywalker I've fixed the things you mentioned
Repository health decreased by 0.04% when pulling 81be287 on iver56:threshold-hook into f80250c on IDSIA:master.
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.