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

[ML] Missing variable initialisation causing spurious model reinitialisation for lat/long function #641

Merged
merged 2 commits into from
Sep 4, 2019

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Sep 4, 2019

We were missing the initialisation of the return type from updating the trend for multivariate models (this only, potentially, affects results for the lat/long function). This could in rare circumstances cause us to reinitialise the model.

This is a good candidate cause for some sporadic test failures we've seen.

Copy link
Contributor

@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

@tveasey tveasey changed the title [ML] Missing variable initialisation causing spurious reinitialisation for lat/long function [ML] Missing variable initialisation causing spurious model reinitialisation for lat/long function Sep 4, 2019
@tveasey tveasey merged commit e257771 into elastic:master Sep 4, 2019
@tveasey tveasey deleted the missing-initialisation branch September 4, 2019 16:30
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Sep 4, 2019
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Sep 4, 2019
tveasey added a commit that referenced this pull request Sep 4, 2019
tveasey added a commit that referenced this pull request Sep 4, 2019
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

2 participants