Skip to content

Anomaly handlers

The cesnet_tszoo package supports various ways of using anomaly handlers to handle anomalies. Anomaly handlers can be created and fitted (on train set) when initializing dataset with config and each time series has its own anomaly handler instance.

Possible config parameters in TimeBasedConfig, DisjointTimeBasedConfig and SeriesBasedConfig:

  • handle_anomalies_with: Defines the anomaly handlers to handle anomalies in the train set. Can pass enum AnomalyHandlerType for built-in anomaly handler or pass a type of custom anomaly handler.

Built-in anomaly handlers

The cesnet_tszoo package comes with multiple built-in anomaly handlers. To check built-in anomaly handlers refer to anomaly handlers.

Custom anomaly handlers

It is possible to create and use own anomaly handlers. It is recommended to use prepared base class AnomalyHandler.