-
Notifications
You must be signed in to change notification settings - Fork 904
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
Anomaly Detection (anomaly model, scorer, detector, aggregator) #1256
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
…ansAnomaly/LocalOutlierFactorAnomaly
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.
Just a first round of comments, mostly about formatting for now :)
Codecov ReportBase: 93.83% // Head: 93.93% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1256 +/- ##
==========================================
+ Coverage 93.83% 93.93% +0.10%
==========================================
Files 94 122 +28
Lines 9673 10709 +1036
==========================================
+ Hits 9077 10060 +983
- Misses 596 649 +53
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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've made a round of comments.
Overall, I think it's a great start and taking shape. Here are the most important points:
- Please, think of what happens both for (i) multivariate series and (ii) multiple series. It seems to me that the code is not general enough in few places about that.
- Unless I'm missing something, I think most scorers (e.g. L2, but also KMeans and others) should act in the original D-dimensional space for D-dimensional multivariate series, and always return univariate series (I don't think it's really done like that currently).
- Somehow, I would expect KMeansScorer and other similar scorers to work over certain rolling windows (kind of what you have for Wasserstein). This is probably where the characteristic time length should play (rather than in some functions keeping e.g. the max values over certain windows as a postprocessing step for all scorers - I would suggest removing this).
- I would let the scorers compute the distance themselves if they need it, rather than feeding them with (some variants) of residuals.
- I haven't looked at Detectors yet
- I have pushed a couple of commits with small improvements (mainly to docstrings), but more corrections need to be made there
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
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.
AD is a great addition to the Darts @julien12234 and @hrzn . Thanks for this colossal work :)
Co-authored-by: eliane-maalouf <112691612+eliane-maalouf@users.noreply.github.com>
… into feat/anomaly_detection_API
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.
🥳
Fixes #.
Summary
Other Information