Skip to content

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Apr 13, 2021

We were missing state used to adjust the loss function to select the best hyperparameters based on model size. This would sometimes cause us to select different hyperparameters if the modelling failed and was restarted during training.

Note that this already tested by testRunBoostedTreeRegressionTrainingWithStateRecovery but only fails if the change causes us to select a different model so this doesn't reliably fail.

Copy link
Contributor

@valeriy42 valeriy42 left a comment

Choose a reason for hiding this comment

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

LGTM

@tveasey tveasey merged commit 21b549d into elastic:master Apr 15, 2021
@tveasey tveasey deleted the missing-state-persist branch April 15, 2021 08:54
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Apr 15, 2021
… training a boosted tree (elastic#1848)

We were missing state used to adjust the loss function to select the best hyperparameters based on model size.
This would sometimes cause us to select different hyperparameters if the modelling failed and was restarted during
training.
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.

2 participants