-
Notifications
You must be signed in to change notification settings - Fork 208
[REF] Refactor Anomaly Detection Module into Submodules by Algorithm Family #2694
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2e1fdd2
Refactor Anomaly Detection Module into Submodules by Algorithm Family
Kaustbh 914258f
Merge remote-tracking branch 'upstream/main' into anomaly-detection
Kaustbh 055e963
updated documentation and references
Kaustbh 514cbb5
Merge branch 'main' into anomaly-detection
Kaustbh cc7fc9d
implemented suggested changes
Kaustbh 2890c0f
minor changes
Kaustbh 906548e
Merge branch 'main' into anomaly-detection
Kaustbh f11c765
added headers for remaining algorithm family
Kaustbh 0d67656
Merge branch 'main' into anomaly-detection
Kaustbh d95fa20
removing tree-based header
Kaustbh 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,7 @@ | ||
"""Time Series Anomaly Detection.""" | ||
|
||
__all__ = [ | ||
"CBLOF", | ||
"COPOD", | ||
"DWT_MLEAD", | ||
"IsolationForest", | ||
"KMeansAD", | ||
"LeftSTAMPi", | ||
"LOF", | ||
"MERLIN", | ||
"OneClassSVM", | ||
"ROCKAD", | ||
"PyODAdapter", | ||
"STOMP", | ||
"STRAY", | ||
"BaseAnomalyDetector", | ||
] | ||
|
||
from aeon.anomaly_detection._cblof import CBLOF | ||
from aeon.anomaly_detection._copod import COPOD | ||
from aeon.anomaly_detection._dwt_mlead import DWT_MLEAD | ||
from aeon.anomaly_detection._iforest import IsolationForest | ||
from aeon.anomaly_detection._kmeans import KMeansAD | ||
from aeon.anomaly_detection._left_stampi import LeftSTAMPi | ||
from aeon.anomaly_detection._lof import LOF | ||
from aeon.anomaly_detection._merlin import MERLIN | ||
from aeon.anomaly_detection._one_class_svm import OneClassSVM | ||
from aeon.anomaly_detection._pyodadapter import PyODAdapter | ||
from aeon.anomaly_detection._rockad import ROCKAD | ||
from aeon.anomaly_detection._stomp import STOMP | ||
from aeon.anomaly_detection._stray import STRAY | ||
from aeon.anomaly_detection.base import BaseAnomalyDetector |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""Distance basedTime Series Anomaly Detection.""" | ||
|
||
__all__ = [ | ||
"CBLOF", | ||
"KMeansAD", | ||
"LeftSTAMPi", | ||
"LOF", | ||
"MERLIN", | ||
"STOMP", | ||
] | ||
|
||
from aeon.anomaly_detection.distance_based._cblof import CBLOF | ||
from aeon.anomaly_detection.distance_based._kmeans import KMeansAD | ||
from aeon.anomaly_detection.distance_based._left_stampi import LeftSTAMPi | ||
from aeon.anomaly_detection.distance_based._lof import LOF | ||
from aeon.anomaly_detection.distance_based._merlin import MERLIN | ||
from aeon.anomaly_detection.distance_based._stomp import STOMP |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Distance based test code.""" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Distribution based Time Series Anomaly Detection.""" | ||
|
||
__all__ = [ | ||
"COPOD", | ||
"DWT_MLEAD", | ||
] | ||
|
||
from aeon.anomaly_detection.distribution_based._copod import COPOD | ||
from aeon.anomaly_detection.distribution_based._dwt_mlead import DWT_MLEAD |
This file contains hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Distribution based test code.""" |
This file contains hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Time Series Outlier Detection.""" | ||
|
||
__all__ = [ | ||
"IsolationForest", | ||
"PyODAdapter", | ||
"STRAY", | ||
] | ||
|
||
from aeon.anomaly_detection.outlier_detection._iforest import IsolationForest | ||
from aeon.anomaly_detection.outlier_detection._pyodadapter import PyODAdapter | ||
from aeon.anomaly_detection.outlier_detection._stray import STRAY |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Outlier based test code.""" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Sklearn based Anomaly Detection.""" | ||
|
||
__all__ = [ | ||
"OneClassSVM", | ||
] | ||
|
||
from aeon.anomaly_detection.sklearn_based._one_class_svm import OneClassSVM |
File renamed without changes.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Sklearn based test code.""" |
This file contains hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Whole Time Series Anomaly Detection.""" | ||
|
||
__all__ = [ | ||
"ROCKAD", | ||
] | ||
|
||
from aeon.anomaly_detection.whole_series._rockad import ROCKAD |
File renamed without changes.
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Whole series anomaly detection tests.""" |
This file contains hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.