Skip to content

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Feb 12, 2020

We weren't accounting for the data frame's memory usage when reporting peak memory usage for training. Also, we were missing some state when estimating peak memory usage during the line searches to initialise hyperparameters.

I've also taken the opportunity to more fully migrate instrumentation of training to use the new instrumentation object and provide better automatic stubbing.

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. Good work on refactoring 👍

m_Regularization, m_DownsampleFactor, m_Eta,
m_EtaGrowthRatePerTree, m_MaximumNumberTrees, m_FeatureBagFraction},
m_Instrumentation{instrumentation} {
m_Instrumentation{instrumentation != nullptr ? instrumentation : &INSTRUMENTATION_STUB} {
Copy link
Contributor

Choose a reason for hiding this comment

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

good idea.

@tveasey tveasey merged commit c8b3fe2 into elastic:master Feb 14, 2020
@tveasey tveasey deleted the simplify-instrumentation branch February 14, 2020 16:34
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Feb 14, 2020
tveasey added a commit that referenced this pull request Feb 17, 2020
…mate for classification and regression (#1002)

Backport #996.
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