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

PUBDEV-8416, PUBDEV-8417: AutoML propagate early stopping criteria to SEs + GLM #5951

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

Conversation

sebhrusen
Copy link
Contributor

Sebastien Poirier added 2 commits December 11, 2021 02:45
@@ -332,7 +336,6 @@ private void notifyModelListeners() {
public Job<M> trainModelOnH2ONode() {
if (error_count() > 0)
throw H2OModelBuilderIllegalArgumentException.makeFromBuilder(this);
this._input_parms = (P) this._parms.clone();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koniecsveta I think this one was a mistake as we're cloning AFTER validation, during which many parms are set or modified internally.

Copy link
Contributor

@tomasfryda tomasfryda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you @sebhrusen !

I didn't find any reason why the line in trainModelOnH2ONode() shouldn't be removed - all code paths in h2o-3 seem to initialize _input_parms before it gets called (checked just by greping the method name) and I didn't find any other reason why it should be there.

@ledell
Copy link
Contributor

ledell commented Dec 21, 2021

We will revisit this after the holidays after reviewing the benchmarks more carefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants