Skip to content

[ML] Improvements to upfront memory estimation for data frame analyses#1003

Merged
tveasey merged 5 commits intoelastic:masterfrom
tveasey:memory-bugs
Feb 18, 2020
Merged

[ML] Improvements to upfront memory estimation for data frame analyses#1003
tveasey merged 5 commits intoelastic:masterfrom
tveasey:memory-bugs

Conversation

@tveasey
Copy link
Copy Markdown
Contributor

@tveasey tveasey commented Feb 17, 2020

This change fixes a double counting bug for the memory used by the extra columns for classification and regression model training. It also means they only count towards the data frame memory usage: previously they were wrongly being treated as features for memory estimation purposes.

Incidentally, it also fixes the memory reported by the counter E_DFOEstimatedPeakMemoryUsage, which was missing the extra columns' memory usage.

Finally, it tidies up instrumentation of outlier detection, to more fully use the new instrumentation class, and corrects the memory estimates in testRunOutlierDetectionPartitioned.

@tveasey
Copy link
Copy Markdown
Contributor Author

tveasey commented Feb 17, 2020

retest

Copy link
Copy Markdown

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

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