Detector Factory

Factory to return AnomalyDetector objects.

class ecgan.anomaly_detection.detector.detector_factory.AnomalyDetectorFactory[source]

Bases: object

Meta module for creating correct anomaly detectors.

static choose_class(module)[source]

Choose the correct class based on the provided module name.

__call__(detector, module, tracker)[source]

Return implemented AD module when a BaseModule is created.

Return type

AnomalyDetector

__weakref__

list of weak references to the object (if defined)