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

[Auto] Add early stopping strategies #1641

Merged
merged 5 commits into from
Mar 27, 2021
Merged

Conversation

zhreshold
Copy link
Member

Now through config, it can control the early stopping of estimators

early_stop_patience : int = -1  # epochs with no improvement after which train is early stopped, negative: disabled
early_stop_min_delta : float = 0.001  # ignore changes less than min_delta for metrics
early_stop_baseline : Union[float, int] = 0.0 # the baseline value for metric, training won't stop if not reaching baseline
early_stop_max_value : Union[float, int] = 1.0  # early stop if reaching max value instantly

@github-actions
Copy link

Job PR-1641-33b1d69 is done.
Docs are uploaded to http://gluon-vision-staging.s3-website-us-west-2.amazonaws.com/PR-1641/33b1d69/index.html

@zhreshold zhreshold merged commit 026d39c into dmlc:master Mar 27, 2021
@zhreshold zhreshold deleted the early-stopping branch March 27, 2021 05:23
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