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

automatically set refit_with_val when early stopping is enabled #1031

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

jmoralez
Copy link
Member

Automatically sets refit_with_val=True if the user provided early_stop_patience_steps > 0 in the auto models to avoid errors like the one in #1009. I decided to automatically set it here instead of raising an error to avoid cases where the hyperparameter optimization concluded and there's an error when fitting the best model which also makes the user loose the results of the optimization.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez marked this pull request as ready for review June 12, 2024 21:05
@jmoralez jmoralez merged commit ab918ba into main Jul 1, 2024
17 checks passed
@jmoralez jmoralez deleted the set-refitwithval branch July 1, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant