-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from NorskRegnesentral/inherit-sktime-detector
[ENH] Homogenize `skchange` with `sktime`: Inherit from sktime.BaseDetector
- Loading branch information
Showing
17 changed files
with
521 additions
and
495 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
"""Anomaly detection algorithms.""" | ||
|
||
from skchange.anomaly_detectors.anomalisers import StatThresholdAnomaliser | ||
from skchange.anomaly_detectors.base import ( | ||
CollectiveAnomalyDetector, | ||
SubsetCollectiveAnomalyDetector, | ||
) | ||
from skchange.anomaly_detectors.base import BaseCollectiveAnomalyDetector | ||
from skchange.anomaly_detectors.capa import CAPA | ||
from skchange.anomaly_detectors.circular_binseg import CircularBinarySegmentation | ||
from skchange.anomaly_detectors.mvcapa import MVCAPA | ||
|
||
BASE_ANOMALY_DETECTORS = [ | ||
CollectiveAnomalyDetector, | ||
SubsetCollectiveAnomalyDetector, | ||
BaseCollectiveAnomalyDetector, | ||
] | ||
COLLECTIVE_ANOMALY_DETECTORS = [ | ||
CAPA, | ||
CircularBinarySegmentation, | ||
MVCAPA, | ||
StatThresholdAnomaliser, | ||
] | ||
POINT_ANOMALY_DETECTORS = [] | ||
ANOMALY_DETECTORS = COLLECTIVE_ANOMALY_DETECTORS + POINT_ANOMALY_DETECTORS | ||
ANOMALY_DETECTORS = COLLECTIVE_ANOMALY_DETECTORS | ||
|
||
__all__ = BASE_ANOMALY_DETECTORS + ANOMALY_DETECTORS |
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.