-
Notifications
You must be signed in to change notification settings - Fork 62
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] Anomaly detection for multiple bucket features #175
Merged
tveasey
merged 40 commits into
elastic:master
from
tveasey:feature/multiple-bucket-detection
Aug 17, 2018
Merged
Changes from 33 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e9c6cd7
Initial work on features spanning multiple buckets
tveasey 7de5096
Remove partially implemented multi-bucket data gatherering support: i…
tveasey f7ef031
Given we now have explicit multi-bucket features, it's better to meas…
tveasey 6412977
Bug fixes and compiler warnings
tveasey 874fb1d
Support disabling multibucket feature modelling
tveasey 2dd2357
More work
tveasey 8545b01
Multivariate bulk features
tveasey 73cac7f
Unit test bulk features. Improve weight calculation for contrast. For…
tveasey a8512fe
Towards fixing model tests
tveasey 6c2d266
Finish up fixing tests + bug fixes
tveasey 88a453b
Merge master
tveasey 1cae145
Merge master
tveasey 56f019c
We can't upgrade the anomaly model because the features have changed
tveasey 37a04b6
Update test thresholds
tveasey b441515
Merge branch 'master' into feature/multiple-bucket-detection
tveasey c6210c3
Merge branch 'master' into feature/multiple-bucket-detection
tveasey 9f798d9
The contrast feature wasn't helping enough in the average case. Also …
tveasey 5dcd1ab
Bug fix
tveasey 3b602ce
It is a good idea to compute weighted means since outliers otherwise …
tveasey 8f611a6
Improve function for combining feature probabilities
tveasey 092e803
Towards fixing unit tests
tveasey d880e4d
Update test expected result
tveasey 93f41b1
Fix linux compilation
tveasey 91e49cc
Another linux fix
tveasey db8ba71
Another linux fix
tveasey 85a2db9
Formatting fixes
tveasey a379e11
Merge branch 'master' into feature/multiple-bucket-detection
tveasey a2a9532
Fix unit tests and some bug fixes to correlation models
tveasey af25b54
Fix unit test
tveasey fda494a
Tweak to feature probability aggregation
tveasey 61e85dc
Formatting fix
tveasey ff74d76
Tidy up
tveasey 70d819a
Merge branch 'master' into feature/multiple-bucket-detection
tveasey 67b7205
Review comments and documentation
tveasey f2b01c1
Merge branch 'master' into feature/multiple-bucket-detection
tveasey 3937f40
Support correlation between multi-bucket and bucket feature when aggr…
tveasey f4962df
Formatting fixes
tveasey c32772a
Review comments
tveasey 20df95c
Rework multi-bucket features to better encapsulate functionality and …
tveasey 878b038
Merge branch 'master' into feature/multiple-bucket-detection
tveasey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the reason to keep it? Are there clients using this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to completely remove this, although it does then commit us to removing the corresponding options on the Java side. @dimitris-athanasiou said he would do this. The functionality to silently drop any settings related to this functionality (which was never documented and not fully tested) will then live in the Java code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to drop everything from the c++ side. I'll prepare the java side and we will merge them both in
6.5
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I raised elastic/elasticsearch#32496. @tveasey, this means you can completely remove the
multipleBucketspans
param in this PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok great. I'll tidy.