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

Added complex early stopping based on schedule function #138

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kaisle
Copy link

@Kaisle Kaisle commented Jul 22, 2018

Thanks for an awesome implementation.

I was missing the option to halt training based on a custom condition so I implemented a way to do this using the schedule function.

If the schedule function returns false, training will stop.

This allows you to do a complex early stopping where you stop training if the error rates goes up by a certain amount or doesn't improve beyond a certain amount. It's also minimally invasive to the existing project.

I have updated the documentation to reflect the change.

I hope you will consider it.

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.

1 participant